livecheck: omit skipped when --newer-only is used

This commit is contained in:
Sam Ford 2022-06-08 15:14:03 -04:00
parent a3d14ffb90
commit 802a430300
No known key found for this signature in database
GPG Key ID: 7AF5CBEE1DD6F76D

View File

@ -247,7 +247,7 @@ module Homebrew
if skip_info.present?
next skip_info if json
SkipConditions.print_skip_information(skip_info) unless quiet
SkipConditions.print_skip_information(skip_info) if !newer_only && !quiet
next
end