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
Merged

Conversation

pocke
Copy link
Contributor

@pocke pocke 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.

`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.
Copy link
Member

@unasuke unasuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🉑 👍

@unasuke unasuke merged commit 190c72a into itamae-kitchen:master May 10, 2019
@pocke pocke deleted the suppress-warning branch May 10, 2019 08:11
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