Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send a non-zero exit code if script terminates early #61

merged 1 commit into from Jul 7, 2014


Copy link

commented Jul 7, 2014

The default behaviour for process.exit() sends an exit code of 0. This PR sends an exit code of 1 in the cases of error to indicate when the script has failed to complete


This comment has been minimized.

Copy link

commented Jul 7, 2014

Thanks for the PR, this is great.

Note if you are using jspm through a build script that is written in JS, you can also use the new API layer through require('jspm') added here -

It currently only supports install, but other functions can be added pretty easily.

guybedford added a commit that referenced this pull request Jul 7, 2014

Merge pull request #61 from lindseydew/exit-code-errors
send a non-zero exit code if script terminates early

@guybedford guybedford merged commit 6cab614 into jspm:master Jul 7, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.