summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 12:08:22 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 12:51:24 +0200
commit0a0e7cf5ec98f53c8b9ea4855700777820b7e972 (patch)
tree725ea3bb68b970524b0e258a615a8b70d08966c5 /lib
parente330a9a34fcc8bb7abe095ce8fa989a5788be803 (diff)
downloadbundler-0a0e7cf5ec98f53c8b9ea4855700777820b7e972.tar.gz
Deprecate `--path` flag to `bundle check`
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index e6a3867010..ee74a346d1 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -156,6 +156,8 @@ module Bundler
"Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME).#{" Bundler will remember this value for future installs on this machine" unless Bundler.feature_flag.forget_cli_options?}"
map "c" => "check"
def check
+ remembered_flag_deprecation("path")
+
require_relative "cli/check"
Check.new(options).run
end