Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

fix: exit code 1 for only for errors #154

Merged
merged 1 commit into from
Nov 22, 2017

Conversation

ifedapoolarewaju
Copy link
Contributor

Currently when zapier test is run, it terminates with exit code 1, when just warnings are returned during style check validation. Warnings are not critical IMHO. This behaviour breaks builds indiscriminately, even when the warning doesn't necessarily apply to the project.

A current work around is to run with --skip-validate, but then this takes away other benefits of running the validation, like identifying actual errors for example.

This PR changes the behavior to only terminate with exit code 1 for actual errors and not warnings. :)

@BrunoBernardino
Copy link
Contributor

@ifedapoolarewaju can you please sign the CLA so we can merge this?

@ifedapoolarewaju
Copy link
Contributor Author

@BrunoBernardino done! Thank you!

@BrunoBernardino BrunoBernardino merged commit 780ed7b into zapier:master Nov 22, 2017
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.

None yet

3 participants