[rubygems/rubygems] Make "bundler? update --bundler" behave identically
https://github.com/rubygems/rubygems/commit/30dce3f87d
This commit is contained in:
parent
83f57ca3d2
commit
84c9f2a240
@ -21,7 +21,7 @@ module Gem::BundlerVersionFinder
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.bundle_update_bundler_version
|
def self.bundle_update_bundler_version
|
||||||
return unless File.basename($0) == "bundle"
|
return unless ["bundle", "bundler"].include? File.basename($0)
|
||||||
return unless "update".start_with?(ARGV.first || " ")
|
return unless "update".start_with?(ARGV.first || " ")
|
||||||
bundler_version = nil
|
bundler_version = nil
|
||||||
update_index = nil
|
update_index = nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user