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

1: Prevent gulp plugin from swallowing errors. #2

Merged
merged 1 commit into from
Oct 24, 2017
Merged

1: Prevent gulp plugin from swallowing errors. #2

merged 1 commit into from
Oct 24, 2017

Conversation

rlopezcc
Copy link
Contributor

Currently gulp-flake8 subscribes to child_process's stdout data and not stderr.

Any exception in the child process (in this case flake8, or any of its plugins and dependencies) is not being caught, causing the plugin to fail silently (#1).

From this change, any error in the child process will throw an exception and stop the gulp pipeline.

@rlopezcc rlopezcc requested a review from pricco August 29, 2017 17:13
@coveralls
Copy link

coveralls commented Aug 29, 2017

Coverage Status

Coverage decreased (-1.9%) to 77.419% when pulling 9b4211f on issue-1 into 98d3e8c on master.

@pricco pricco merged commit 1836148 into master Oct 24, 2017
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.

None yet

3 participants