Fix code style.

This commit is contained in:
Markus Reiter 2020-12-14 02:16:08 +01:00 committed by Sam Ford
parent 775c2fd245
commit 8b7f38faf0
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ module Homebrew
if strategy == PageMatch
# Only treat the `PageMatch` strategy as usable if a regex is
# present in the `livecheck` block
next unless (regex_provided || block_provided)
next unless regex_provided || block_provided
elsif strategy == Sparkle && (livecheck_strategy || !url_provided)
# Skip the `Sparkle` strategy if a strategy is specified explicitly
# or if the URL is not specified explicitly.