Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Fix --out: Only set exitCode instead of exiting immediately #2867

Merged
merged 1 commit into from Jun 2, 2017
Merged

Fix --out: Only set exitCode instead of exiting immediately #2867

merged 1 commit into from Jun 2, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Jun 2, 2017

PR checklist

Overview of change:

process.exit() kills the process immediately and cancels all pending async writes.
After linting finishes, we only set the exitCode and let the program exit when all async stuff is done.

Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

[bugfix] Fixed regression with empty --out file
Fixes: #2863

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

Successfully merging this pull request may close these issues.

Output to file not working in >5.4.0
2 participants