-
Notifications
You must be signed in to change notification settings - Fork 200
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
Fix error with devel install from erroneuous Rubocop fix #266
Conversation
@@ -96,7 +96,7 @@ def run_installer(command) | |||
|
|||
def syscall(command) | |||
system(command) | |||
$CHILD_STATUS.zero? | |||
$CHILD_STATUS.to_i.zero? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want this to return true when $CHILD_STATUS is nil? I ask because previously ($CHILD_STATUS == 0
) it would return false for nil.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just $?.success?
Updated based on @stbenjam suggestion |
Lol sorry, rubocop doesn't like it, but I think rubocop's suggestion is bad and maybe we can just turn it off.
|
Let's see if its happy now... |
ACK |
Looks like this is caused by not requiring 'English'. See here:
|
I still prefer |
Yea, I think |
Good to merge this as is? I'll most likely be turning a lot of this into On Aug 1, 2016 12:54 PM, "David Davis" notifications@github.com wrote:
|
ACK from me. |
No description provided.