aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cask.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-05-29 18:24:52 +0100
committerMike McQuaid2017-05-29 18:43:18 +0100
commit7a38bab333c6808022fe53aac2be9ca2e329cd53 (patch)
treebbc05eebc29bdb6d539cd0e9d197b3762b49ffce /Library/Homebrew/cask/lib/hbc/cask.rb
parent4356016b4a1c2eaba02680b4ad7f1747d2df53bf (diff)
downloadbrew-7a38bab333c6808022fe53aac2be9ca2e329cd53.tar.bz2
Fixup all RuboCop warnings.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cask.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cask.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cask.rb b/Library/Homebrew/cask/lib/hbc/cask.rb
index 47f3b176a..e1cdb5dea 100644
--- a/Library/Homebrew/cask/lib/hbc/cask.rb
+++ b/Library/Homebrew/cask/lib/hbc/cask.rb
@@ -66,7 +66,7 @@ module Hbc
return [] if current == version
# collect all installed versions that are different than tap version and return them
- installed.select { |v| v != version }
+ installed.reject { |v| v == version }
end
def to_s