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 --fix-to-stdout with empty file #59

Merged

Conversation

aaronjensen
Copy link
Collaborator

Previously it printed the help message instead of nothing.

We may not even need the check because this function is typically called by eslint_d.js itself, but it doesn't hurt.

Previously it printed the help message instead of nothing
@aaronjensen
Copy link
Collaborator Author

To reproduce the original error:

bin/eslint_d.js stop; echo -n | bin/eslint_d.js --stdin --fix-to-stdout --stdin-filename foo.js

@mantoni
Copy link
Owner

mantoni commented Dec 6, 2016

Sure, makes sense. I'm AFK. You fancy doing a patch release?

@aaronjensen
Copy link
Collaborator Author

cando

@aaronjensen aaronjensen merged commit 3c6318d into mantoni:master Dec 6, 2016
@aaronjensen aaronjensen deleted the fix-to-stdout-with-empty-file branch December 6, 2016 22:15
@aaronjensen
Copy link
Collaborator Author

done, everything look good?

@mantoni
Copy link
Owner

mantoni commented Dec 7, 2016

Perfect! 👍

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