Skip to content

Commit

Permalink
passthrough exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer committed Jan 11, 2023
1 parent a0a93c8 commit d658220
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cli/bin/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ function execGrainrun(
},
}
) {
return execSync(`${grainrun} ${file}`, execOpts);
try {
execSync(`${grainrun} ${file}`, execOpts);
} catch (e) {
process.exit(e.status);
}
}

module.exports = {
Expand Down

0 comments on commit d658220

Please sign in to comment.