Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/github-api-helper.ts
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2019-12-10 01:53:49 -0500
committereric sciple <ericsciple@users.noreply.github.com>2019-12-10 01:53:49 -0500
commitc9225b30cfa7adbe74d1e7bd82b7e1fdd4d39aa8 (patch)
treebccab7ca4742074b9e023a1b1a160fbb52b58197 /src/github-api-helper.ts
parente30dd501a41b65ab64ee56f688656f135b1838b3 (diff)
.
Diffstat (limited to 'src/github-api-helper.ts')
-rw-r--r--src/github-api-helper.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts
index 764156c..37a467d 100644
--- a/src/github-api-helper.ts
+++ b/src/github-api-helper.ts
@@ -69,6 +69,7 @@ export async function downloadRepository(
core.info('Downloading the archive') // Do not print the archive URL because it has an embedded token
await downloadFile(archiveUrl, fileStream)
} finally {
+ fileStream.end()
await fileStreamClosed
}