diff options
-rw-r--r-- | lib/bundler/cli.rb | 2 | ||||
-rw-r--r-- | spec/bundler/other/major_deprecation_spec.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 8dd5315771..e8193cef14 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -250,7 +250,7 @@ module Bundler def install SharedHelpers.major_deprecation(2, "The `--force` option has been renamed to `--redownload`") if ARGV.include?("--force") - %w[clean deployment frozen no-cache no-prune path shebang system without with].each do |option| + %w[clean deployment frozen no-prune path shebang system without with].each do |option| remembered_flag_deprecation(option) end diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb index fa3ea7e6fb..2ca6717827 100644 --- a/spec/bundler/other/major_deprecation_spec.rb +++ b/spec/bundler/other/major_deprecation_spec.rb @@ -317,7 +317,6 @@ RSpec.describe "major deprecations" do "clean" => ["clean", true], "deployment" => ["deployment", true], "frozen" => ["frozen", true], - "no-cache" => ["no_cache", true], "no-deployment" => ["deployment", false], "no-prune" => ["no_prune", true], "path" => ["path", "vendor/bundle"], |