mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Remove redundant condition
This is inside a code branch where the condition is already met. https://github.com/bundler/bundler/commit/8cdd6c37e6
This commit is contained in:
parent
31541d7389
commit
ad3cba02cf
1 changed files with 2 additions and 4 deletions
|
@ -414,10 +414,8 @@ module Bundler
|
|||
map %w[cache] => :package
|
||||
else
|
||||
desc "cache [OPTIONS]", "Cache all the gems to vendor/cache", :hide => true
|
||||
unless Bundler.feature_flag.cache_command_is_package?
|
||||
method_option "all", :type => :boolean,
|
||||
:banner => "Include all sources (including path and git)."
|
||||
end
|
||||
method_option "all", :type => :boolean,
|
||||
:banner => "Include all sources (including path and git)."
|
||||
method_option "all-platforms", :type => :boolean, :banner => "Include gems for all platforms present in the lockfile, not only the current one"
|
||||
method_option "no-prune", :type => :boolean, :banner => "Don't remove stale gems from the cache."
|
||||
def cache
|
||||
|
|
Loading…
Reference in a new issue