testdouble / scripty

Because no one should be shell-scripting inside a JSON file.
MIT License
963 stars 23 forks source link

Clean up exits. #50

Closed Schoonology closed 7 years ago

Schoonology commented 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().

searls commented 7 years ago

Awesome, I didn't know about the process.exitCode assignment trick. Thanks Schoon!

searls commented 7 years ago

Landed in scripty@1.7.2