summaryrefslogtreecommitdiff
path: root/lib/bundler/runtime.rb
diff options
context:
space:
mode:
authorVictor Koronen <koronen@kth.se>2015-08-08 16:24:59 +0200
committerVictor Koronen <koronen@kth.se>2015-08-14 12:29:43 +0200
commite57b712070d7b247cd2d411697780e5660a38098 (patch)
tree3c6ab46b397f31ba593382e5cac52877a02a1041 /lib/bundler/runtime.rb
parent95bb960606a60a45c8acbf91db031b02d77bf5a6 (diff)
downloadbundler-e57b712070d7b247cd2d411697780e5660a38098.tar.gz
Fix Style/ParenthesesAroundCondition
Diffstat (limited to 'lib/bundler/runtime.rb')
-rw-r--r--lib/bundler/runtime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb
index 28767af5e2..5f340a3e64 100644
--- a/lib/bundler/runtime.rb
+++ b/lib/bundler/runtime.rb
@@ -61,7 +61,7 @@ module Bundler
@definition.dependencies.each do |dep|
# Skip the dependency if it is not in any of the requested
# groups
- next unless ((dep.groups & groups).any? && dep.current_platform?)
+ next unless (dep.groups & groups).any? && dep.current_platform?
required_file = nil