Skip to content

Commit

Permalink
throw error instead of just logging a warning, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasciccola committed Mar 7, 2024
1 parent c871a32 commit 9c430e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/build_lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = function ({ output, lang, timeout }, sourceDir, { lint } = { li
try{
zip.addBuffer(buf, name)
}catch(e){
log.err(`error ziping file ${name}`)
throw new Error(`error zipping file ${name} with error ${e.message}`)
}
}

Expand Down

0 comments on commit 9c430e7

Please sign in to comment.