summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 12:07:55 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 12:09:03 +0200
commite330a9a34fcc8bb7abe095ce8fa989a5788be803 (patch)
treec6827d4d3e768081301c65810619e9eb68600c9a
parenta05250c09d76ee3fca1eb2369ad9099918673244 (diff)
downloadbundler-e330a9a34fcc8bb7abe095ce8fa989a5788be803.tar.gz
Fix remembered flag deprecation message
It was suggested a deprecated command as a fix.
-rw-r--r--lib/bundler/cli.rb2
-rw-r--r--spec/other/major_deprecation_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 8b055dc902..e6a3867010 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -789,7 +789,7 @@ module Bundler
Bundler::SharedHelpers.major_deprecation 2,\
"The `#{flag_name}` flag is deprecated because it relies on being " \
"remembered accross bundler invokations, which bundler will no longer " \
- "do in future versions. Instead please use `bundle config #{name} " \
+ "do in future versions. Instead please use `bundle config set #{name} " \
"'#{value}'`, and stop using this flag"
end
end
diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb
index 260a2cc55b..45c484248e 100644
--- a/spec/other/major_deprecation_spec.rb
+++ b/spec/other/major_deprecation_spec.rb
@@ -290,7 +290,7 @@ RSpec.describe "major deprecations" do
"The `#{flag_name}` flag is deprecated because it relies on " \
"being remembered accross bundler invokations, which bundler " \
"will no longer do in future versions. Instead please use " \
- "`bundle config #{name} '#{value}'`, and stop using this flag"
+ "`bundle config set #{name} '#{value}'`, and stop using this flag"
)
end