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 warning File.exists? is a deprecated name, use File.exist? instead #209

Merged
merged 1 commit into from
Oct 23, 2018

Conversation

swamp09
Copy link
Contributor

@swamp09 swamp09 commented Oct 23, 2018

This PR suppresses the following warning at lib/settings.rb .

ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin16]

RUBYOPT=-w bundle exec rspec spec/unit
/Users/numata/git/github.com/openSUSE/trollolo/lib/settings.rb:27: warning: File.exists? is a deprecated name, use File.exist? instead

…e.exist? instead`

This PR suppresses the following warning at lib/settings.rb .

```
ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin16]

RUBYOPT=-w bundle exec rspec spec/unit
/Users/numata/git/github.com/openSUSE/trollolo/lib/settings.rb:27: warning: File.exists? is a deprecated name, use File.exist? instead
```
Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @swamp09! 💘

@Ana06 Ana06 merged commit 9bace58 into openSUSE:master Oct 23, 2018
@swamp09 swamp09 deleted the suppress_warning_file_exists branch October 24, 2018 02:33
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