Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions bin/dry-run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,6 @@ def security_fix?(dependency)
next
end

if checker.up_to_date?
puts " (no update needed as it's already up-to-date)"
next
end

if checker.vulnerable?
if checker.lowest_security_fix_version
puts " => earliest available non-vulnerable version is " \
Expand All @@ -693,6 +688,11 @@ def security_fix?(dependency)
end
end

if checker.up_to_date?
puts " (no update needed as it's already up-to-date)"
next
end

latest_allowed_version = if checker.vulnerable?
checker.lowest_resolvable_security_fix_version
else
Expand Down