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

Refactor how status works - keep "set -e" #18

Merged
merged 1 commit into from
Sep 29, 2015
Merged

Refactor how status works - keep "set -e" #18

merged 1 commit into from
Sep 29, 2015

Conversation

pvdb
Copy link
Contributor

@pvdb pvdb commented Sep 29, 2015

Hey @mislav - I personally find the way the status check is implemented in the script a tad confusing, so I'm offering two alternate implementations, one that keeps "set -e" (this one) and another one that removes it (see #17)

This PR keeps "set -e", but combines the two pipelines into a single one to avoid the need for the superfluous STATUS variable.

@mislav
Copy link
Member

mislav commented Sep 29, 2015

I like this!

I prefer to keep set -e because I use it standardly in every bash script.

mislav added a commit that referenced this pull request Sep 29, 2015
Refactor how status works - keep "set -e"

Closes #17
@mislav mislav merged commit 18466ae into rbenv:master Sep 29, 2015
@pvdb
Copy link
Contributor Author

pvdb commented Sep 29, 2015

Awesome, thanks for merging!

@pvdb pvdb deleted the refactor_status_take_2 branch October 9, 2018 20:18
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