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

Fix console.error process.exit flush issue #88

Merged
merged 3 commits into from
May 3, 2015

Conversation

samuelbjohnson
Copy link
Contributor

This issue:
nodejs/node-v0.x-archive#3584
leads to incomplete output from RetireJS when it's run on Windows and its output is piped to a different process (this is often the case when invoking RetireJS programmatically).

We can resolve the problem by checking for unflushed output prior to exiting, and waiting for the "drain" event before calling process.exit.

eoftedal added a commit that referenced this pull request May 3, 2015
Fix console.error process.exit flush issue
@eoftedal eoftedal merged commit f926c2e into RetireJS:master May 3, 2015
@eoftedal
Copy link
Contributor

eoftedal commented May 3, 2015

Thanks!

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.

2 participants