Skip to content

Commit

Permalink
Make Rubocop happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrussell committed Jun 11, 2020
1 parent fb20cbd commit 5c6bdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class << self
attr_reader :exists_returns_integer

def exists_returns_integer=(value)
if !value
unless value
message = "`Redis#exists(key)` will return an Integer in redis-rb 4.3. The option to explicitly disable this " \
"behaviour via `Redis.exists_returns_integer` will be removed. You should use `exists?` instead. " \
"(#{::Kernel.caller(1, 1).first})\n"
Expand Down

0 comments on commit 5c6bdae

Please sign in to comment.