1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Fix incorrect flag usage

https://github.com/bundler/bundler/commit/4df9edef95
This commit is contained in:
David Rodríguez 2019-07-15 19:31:10 +02:00 committed by Hiroshi SHIBATA
parent ad3cba02cf
commit 33ce42dd5d
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -425,7 +425,7 @@ module Bundler
end
desc "#{Bundler.feature_flag.cache_command_is_package? ? :cache : :package} [OPTIONS]", "Locks and then caches all of the gems into vendor/cache"
unless Bundler.feature_flag.cache_command_is_package?
unless Bundler.feature_flag.cache_all?
method_option "all", :type => :boolean,
:banner => "Include all sources (including path and git)."
end