From 33ce42dd5dd10cb86258e78010563f86f412ce01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 15 Jul 2019 19:31:10 +0200 Subject: [PATCH] [bundler/bundler] Fix incorrect flag usage https://github.com/bundler/bundler/commit/4df9edef95 --- lib/bundler/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 18491b487b..ef818e12e9 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -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