Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Fix remembered flag deprecation message
Browse files Browse the repository at this point in the history
It was suggested a deprecated command as a fix.
  • Loading branch information
deivid-rodriguez committed Aug 16, 2019
1 parent a05250c commit e330a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/bundler/cli.rb
Expand Up @@ -789,7 +789,7 @@ def remembered_flag_deprecation(name)
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
Expand Down
2 changes: 1 addition & 1 deletion spec/other/major_deprecation_spec.rb
Expand Up @@ -290,7 +290,7 @@
"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

Expand Down

0 comments on commit e330a9a

Please sign in to comment.