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

Allow no-process-exit to be used in process event handlers (fixes #32) #44

Merged
merged 1 commit into from
Jul 31, 2016

Conversation

jfmengels
Copy link
Contributor

Allow no-process-exit to be used in process event handlers (fixes #32)

I think that we should probably change the error message to mention it can be used in process.on(...), but not sure. I don't want to invite people to use it everywhere, and the message would be pretty long. What do you think?

@sindresorhus
Copy link
Owner

Awesome!

I think that we should probably change the error message to mention it can be used in process.on(...), but not sure. I don't want to invite people to use it everywhere, and the message would be pretty long. What do you think?

Nah. What you have here is good. It's better documented in the docs than the error message.

@sindresorhus sindresorhus merged commit 48ef6e1 into master Jul 31, 2016
@sindresorhus sindresorhus deleted the issue-32 branch July 31, 2016 11:07
@jfmengels
Copy link
Contributor Author

😄

@sindresorhus
Copy link
Owner

leo-yay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exceptions to no-process-exit rule
2 participants