Closed alisianoi closed 8 years ago
I'm not sure either, but doing both in one method is questionable. Since we're using process.exit(0)
already, I suggest we stick with that.
I have prepublished this as 2.7.1-0
under beta
tag. This PR fixes Angular's CircleCI failure (it still fails but bacause of gulp lint
on some test, not because of us). What do you think about merging it? Does it solve your CircleCI problem?
Just tested this, works well! Even as a pre-push hook - this is what I added to the readme for the project: https://gist.github.com/jzaefferer/a4b588abb91e6a020c28aa07880f16a3 - might be useful for other projects as well.
Glad to hear it! Will add that bit to the README, then merge this branch, create 2.7.1
, publish on npm and then go to update angular PRs.
Closes #76
I am not sure how to properly exit from a
catch
block: withprocess.exit(1)
or rethrowing the error.