Skip to content

Commit

Permalink
rethrow error when script failed
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBitard authored May 17, 2023
1 parent 7751dd4 commit 15ccf87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/commands/run-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ class RunScript extends BaseCommand {
// in some workspaces since other scripts might have succeeded
if (!scriptMissing) {
process.exitCode = 1
throw err
}

return scriptMissing
Expand Down

0 comments on commit 15ccf87

Please sign in to comment.