From 4e7c39f98ceaf5160d9a97b7d2405623f972773a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 17 Mar 2023 13:39:20 +0100 Subject: Don't remove RUBY platform when healing a lockfile with missing specs --- lib/bundler/spec_set.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb index 08f523312c..4882f7b38a 100644 --- a/lib/bundler/spec_set.rb +++ b/lib/bundler/spec_set.rb @@ -101,6 +101,8 @@ module Bundler end def incomplete_ruby_specs?(deps) + return false if @specs.empty? + self.for(deps, true, [Gem::Platform::RUBY]) @incomplete_specs.any? -- cgit v1.2.3