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

Suppress Ruby warning #287

Merged
merged 1 commit into from May 10, 2019

Conversation

Projects
None yet
2 participants
@pocke
Copy link
Contributor

commented May 10, 2019

itamae ssh command displays many warnings when RUBYOPT=-w is passed.

/home/pocke/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/itamae-1.10.3/lib/itamae/backend.rb:12: warning: instance variable @sudo_password not initialized

This patch suppresses the warnings.

Suppress Ruby warning
`itamae ssh` command displays many warnings.

```
/home/pocke/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/itamae-1.10.3/lib/itamae/backend.rb:12: warning: instance variable @sudo_password not initialized
```

This patch suppresses the warnings.
@unasuke
Copy link
Member

left a comment

🉑 👍

@unasuke unasuke merged commit 190c72a into itamae-kitchen:master May 10, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@pocke pocke deleted the pocke:suppress-warning branch May 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.