shelljs / shx

Portable Shell Commands for Node
MIT License
1.72k stars 44 forks source link

Refactor: consider using process.exitCode #116

Closed nfischer closed 6 years ago

nfischer commented 7 years ago

We should consider replacing the code here with setting process.exitCode = code to simplify things. I don't think it'll change robustness, but it's probably the better way of doing things. Thanks to @bruce-one for pointing me toward this API.