Closed Schoonology closed 7 years ago
If a script exits with a non-zero code, scripty will no longer throw a noisy error.
Furthermore, setting process.exitCode allows the process tree to terminate normally, rather than forcibly killing it with process.exit().
Awesome, I didn't know about the process.exitCode assignment trick. Thanks Schoon!
process.exitCode
Landed in scripty@1.7.2
If a script exits with a non-zero code, scripty will no longer throw a noisy error.
Furthermore, setting process.exitCode allows the process tree to terminate normally, rather than forcibly killing it with process.exit().