Adjust indent

This commit is contained in:
Hiroshi SHIBATA 2024-02-16 17:57:38 +09:00
parent 9f4d5eb1f4
commit e3f452e5d7
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -1050,12 +1050,12 @@ install?(:ext, :comm, :gem, :'bundled-gems') do
# This gemspec keep the original dependencies
path = "#{srcdir}/.bundle/gems/#{gem_name}/#{gem_name}.gemspec"
unless File.exist?(path)
# Try to find the gemspec file for gems that hasn't own gemspec
path = "#{srcdir}/.bundle/specifications/#{gem_name}.gemspec"
unless File.exist?(path)
skipped[gem_name] = "gemspec not found"
next
end
# Try to find the gemspec file for gems that hasn't own gemspec
path = "#{srcdir}/.bundle/specifications/#{gem_name}.gemspec"
unless File.exist?(path)
skipped[gem_name] = "gemspec not found"
next
end
end
end
spec = load_gemspec(path, "#{srcdir}/.bundle/gems/#{gem_name}")