mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Update to latest standardrb, fix style issues
This commit is contained in:
parent
48fd615e09
commit
978ce8e6cf
8 changed files with 20 additions and 20 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
|||
.rvmrc
|
||||
.ruby-version
|
||||
tags
|
||||
gemfiles/*.lock
|
||||
Gemfile.lock
|
||||
*.swp
|
||||
dump.rdb
|
||||
.rbx
|
||||
|
|
|
@ -119,7 +119,7 @@ module Sidekiq
|
|||
end
|
||||
rescue Redis::CommandError => ex
|
||||
# 2850 return fake version when INFO command has (probably) been renamed
|
||||
raise unless ex.message =~ /unknown command/
|
||||
raise unless /unknown command/.match?(ex.message)
|
||||
FAKE_INFO
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue