diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-05-11 14:17:54 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-05-13 15:23:56 +0900 |
commit | 4c9ddaac0df317e18665f6d07387191d457cc093 (patch) | |
tree | 1653d0866d3429791faf599e2807fd70ce5624b9 /lib/bundler/source/git.rb | |
parent | 4962e5c4178b3f4dcc1444327129dbd0943bdc01 (diff) |
[rubygems/rubygems] Fix `Gemfile.lock` versions leaking to `bundler/inline` install output
The lockfile is completely ignored in inline mode, yet the previous
output would suggest it wasn't.
https://github.com/rubygems/rubygems/commit/763125a745
Diffstat (limited to 'lib/bundler/source/git.rb')
-rw-r--r-- | lib/bundler/source/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb index a41a2f23e9..f174120706 100644 --- a/lib/bundler/source/git.rb +++ b/lib/bundler/source/git.rb @@ -181,7 +181,7 @@ module Bundler def install(spec, options = {}) force = options[:force] - print_using_message "Using #{version_message(spec)} from #{self}" + print_using_message "Using #{version_message(spec, options[:previous_spec])} from #{self}" if (requires_checkout? && !@copied) || force Bundler.ui.debug " * Checking out revision: #{ref}" |