Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kzhuklinets authored Aug 9, 2024
1 parent 5a8bdbb commit 1e35c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions updater/bin/update_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,9 @@ def show_diff(original_file, updated_file)

# For vulnerable dependencies
if checker.vulnerable?
if checker.lowest_security_fix_version
if checker.lowest_resolvable_security_fix_version
puts "#{dep.name} #{dep.version} is vulnerable. Earliest non-vulnerable is " \
"#{checker.lowest_security_fix_version}"
"#{checker.lowest_resolvable_security_fix_version}"
else
puts "#{dep.name} #{dep.version} is vulnerable. Can't find non-vulnerable version. 🚨"
end
Expand Down

0 comments on commit 1e35c9d

Please sign in to comment.