Skip to content

Commit 9f3e54c

Browse files
committed
Bugfix - ZIP errors did not include error message
1 parent 061e32e commit 9f3e54c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

analyze.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ async function prepareInputsZip(inputsGlob, targetFile) {
5555
const output = fs.createWriteStream(targetFile);
5656
const archive = archiver('zip');
5757
archive.on('end', () => core.info("Finished writing ZIP"))
58-
archive.on('warning', (err) => core.warning("Warning when writing ZIP: ", err))
59-
archive.on('error', (err) => core.error("Error when writing ZIP: ", err))
58+
archive.on('warning', (err) => core.warning("Warning when writing ZIP: " + err))
59+
archive.on('error', (err) => core.error("Error when writing ZIP: " + err))
6060

6161
archive.pipe(output);
6262

0 commit comments

Comments
 (0)