From 31601cadd0ae6a8ea0726b0fe1daba2692a239da Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Fri, 20 Nov 2020 13:42:09 +0100 Subject: [PATCH] Fix missing promise type --- src/controllers/GiteaRepoLatestReleaseController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/GiteaRepoLatestReleaseController.ts b/src/controllers/GiteaRepoLatestReleaseController.ts index b03856c..9580848 100644 --- a/src/controllers/GiteaRepoLatestReleaseController.ts +++ b/src/controllers/GiteaRepoLatestReleaseController.ts @@ -94,7 +94,7 @@ export default class GiteaRepoLatestReleaseController extends Controller { } const file = fs.createWriteStream(tmpAssetPath); - await new Promise((resolve, reject) => { + await new Promise((resolve, reject) => { const httpRequest = https.get(downloadProperties.asset.url, res => { res.on('end', () => { resolve();