aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/cli
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-15 19:17:11 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:58 +0900
commit4f5e1b6ebf4a122fe935c55224ce8e9937288582 (patch)
tree9130359eba99393b3b56ec22960d6177a0a8bcb8 /lib/bundler/cli
parentf73020d493ec2bf7c79fc118f83f328caee701d7 (diff)
downloadruby-4f5e1b6ebf4a122fe935c55224ce8e9937288582.tar.gz
[bundler/bundler] Remove `cache_command_is_package` feature flag
So that we handle the removal of `bundle cache` just like we'll handle the removal of `bundle show` and `bundle console`. https://github.com/bundler/bundler/commit/ff1a669efb
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r--lib/bundler/cli/package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/package.rb b/lib/bundler/cli/package.rb
index 3fa87ff265..731677b4ec 100644
--- a/lib/bundler/cli/package.rb
+++ b/lib/bundler/cli/package.rb
@@ -34,7 +34,7 @@ module Bundler
end
def setup_cache_all
- all = options.fetch(:all, Bundler.feature_flag.cache_command_is_package? || nil)
+ all = options.fetch(:all, Bundler.feature_flag.bundler_3_mode? || nil)
Bundler.settings.set_command_option_if_given :cache_all, all