summaryrefslogtreecommitdiff
path: root/lib/bundler/plugin/installer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/plugin/installer.rb')
-rw-r--r--lib/bundler/plugin/installer.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/bundler/plugin/installer.rb b/lib/bundler/plugin/installer.rb
index 713d679f12..a2ec0c1d65 100644
--- a/lib/bundler/plugin/installer.rb
+++ b/lib/bundler/plugin/installer.rb
@@ -43,16 +43,11 @@ module Bundler
private
- # Rubocop misunderstands the semantics of this method, assuming an `else` code block
- # that doesn't exist. See https://github.com/bbatsov/rubocop/issues/5702.
- #
- # rubocop:disable Style/GuardClause
def check_sources_consistency!(options)
if options.key?(:git) && options.key?(:local_git)
raise InvalidOption, "Remote and local plugin git sources can't be both specified"
end
end
- # rubocop:enable Style/GuardClause
def install_git(names, version, options)
uri = options.delete(:git)