summaryrefslogtreecommitdiff
path: root/lib/bundler/installer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r--lib/bundler/installer.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 8257458476..4be5403607 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -190,9 +190,8 @@ module Bundler
end
end
- unless local
- options["local"] ? @definition.resolve_with_cache! : @definition.resolve_remotely!
- end
+ return if local
+ options["local"] ? @definition.resolve_with_cache! : @definition.resolve_remotely!
end
end
end