Merge pull request #5191 from commitay/throttled

audit: make `throttled` a regular audit
This commit is contained in:
Mike McQuaid 2018-10-27 14:53:16 +01:00 committed by GitHub
commit 84587b3210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -705,7 +705,7 @@ module Homebrew
next if formula.stable.nil?
version = formula.stable.version.to_s.split(".").last.to_i
if @strict && a == formula.name && version.modulo(b.to_i).nonzero?
if a == formula.name && version.modulo(b.to_i).nonzero?
problem "should only be updated every #{b} releases on multiples of #{b}"
end
end