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

exit with code 1, when flow is failing #158

Closed
wants to merge 1 commit into from

Conversation

iduuck
Copy link

@iduuck iduuck commented Jun 20, 2018

fixes #147

TODO: Implement a CLI/configuration option for this

@stereobooster
Copy link

__tests__/integrations/cli/test-badge-reporter.js

-   // Expect flow-coverage-report to exit with 2 on low coverage.
-    expect(exitCode).toBe(2);
+   // Expect flow-coverage-report to exit with 1 on flow error.
+    expect(exitCode).toBe(1);

@iduuck iduuck closed this Feb 12, 2019
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.

Exit process with 1 when Flow check fails?
2 participants