wait on write stream

This commit is contained in:
Vallie Joseph
2024-03-28 18:07:20 +00:00
parent fe0c0de7db
commit 97e4fcfcd5
2 changed files with 30 additions and 7 deletions

View File

@@ -53,6 +53,7 @@ export async function createZipUploadStream(
}
)
} else {
// add directory to zip
zip.entry(null, {name: file.destinationPath}, function (err, entry) {
core.debug(`Entry is: ${entry}`)
if (err) reject(err)