-
Notifications
You must be signed in to change notification settings - Fork 4
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
rsync': undefined method
success?' for nil:NilClass
#34
Comments
Hummm. That's supposed to be a magic global from ruby. I think the rubocop autocorrector did something to this
|
Aye. 306a84b#diff-d12e35b68c9b91f475a6ab3ad7d3b30aL55 - unless $?.success?
- raise RuntimeError, "Rsync failed.\noutput:\n #{output}"
- end
+ fail "Rsync failed.\noutput:\n #{output}" unless $CHILD_STATUS.success? |
What ruby version does this happen? I tested it in ruby-1.9.3, ruby-2.2.0 and there doesn't seem to be an issue |
Can you see if the tests in PR #37 branch also break for you? |
Fixed in #37 |
On line: https://github.com/DigitPaint/roger/blob/master/lib/roger/release/finalizers/rsync.rb#L68
CodeClimate coverage
https://codeclimate.com/github/DigitPaint/roger/coverage/5587d85dd86bab7e2601da4d
How is the $CHILD_STATUS set?
The text was updated successfully, but these errors were encountered: