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

Fail macmoji script if any command fails #47

Merged
merged 1 commit into from
Apr 4, 2020

Conversation

Mazyod
Copy link
Contributor

@Mazyod Mazyod commented Oct 26, 2019

Due to #35 failing, I think it would be in the best interest of users to fail the script early instead of attempting to continue executing the script with an unpredictable result due to the failure.

By using the set -e flag, we tell the bash script to fail if any of the commands it runs fails.

https://stackoverflow.com/questions/19622198/what-does-set-e-mean-in-a-bash-script

Due to warpling#35 failing, I think it would be in the best interest of users to fail the script early instead of attempting to continue executing the script with an unpredictable result due to the failure.

By using the `set -e` flag, we tell the bash script to fail if any of the commands it runs fails.
@warpling
Copy link
Owner

warpling commented Apr 4, 2020

Smart call. Sorry I missed this PR. Thank you!!

@warpling warpling merged commit b7c6327 into warpling:master Apr 4, 2020
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