diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-07-04 16:41:43 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-07-24 15:03:15 +0900 |
commit | 8c82b3579154f12c19d916bd74c87dbe9818711e (patch) | |
tree | 6f3bf21073a3da5a23c69fd98a78f09c2da2c756 /lib/bundler/definition.rb | |
parent | 0e7536bf490cf4b26cf075810e918a5840dbb08b (diff) |
[rubygems/rubygems] Exclude Bundler from missing locked dependencies check
Bundler is special since it's not actually locked in the lockfile as a
regular gem (only via `BUNDLED WITH`). So exclude it from that check.
https://github.com/rubygems/rubygems/commit/9f1756ec47
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r-- | lib/bundler/definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 1970782d55..e043630c2d 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -700,7 +700,7 @@ module Bundler return if @dependency_changes current_dependencies.find do |d| - @locked_specs[d.name].empty? + @locked_specs[d.name].empty? && d.name != "bundler" end&.name end |