Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ruby 2.7.0 deprecation warning: deprecated Object#=~ is called on…
… FalseClass; it always returns nil
- Loading branch information
9048779
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.
It's late and I'm tired, but shouldn't this be
if err && err =~ /warning/i
?