Skip to content

Commit

Permalink
feature: redrun: exit with 1 when script not found
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Aug 13, 2023
1 parent 27f808e commit f8d95e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/redrun.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ else

if (arg.name !== 'run') {
console.log(arg.output);
process.exit(ErrorCode);
} else {
if (!arg.quiet)
console.log(`> ${arg.cmd}`);
Expand Down

0 comments on commit f8d95e3

Please sign in to comment.