dev-cmd/audit: fix brew style.

This commit is contained in:
Mike McQuaid 2019-06-25 17:57:43 +01:00
parent af91fac048
commit 531ef86ad2
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -391,7 +391,7 @@ module Homebrew
if @new_formula && if @new_formula &&
dep_f.keg_only_reason&.reason == :provided_by_macos && dep_f.keg_only_reason&.reason == :provided_by_macos &&
dep_f.keg_only_reason.valid? && dep_f.keg_only_reason.valid? &&
!["apr", "apr-util", "openblas", "openssl"].include?(dep.name) !%w[apr apr-util openblas openssl].include?(dep.name)
new_formula_problem( new_formula_problem(
"Dependency '#{dep.name}' may be unnecessary as it is provided " \ "Dependency '#{dep.name}' may be unnecessary as it is provided " \
"by macOS; try to build this formula without it.", "by macOS; try to build this formula without it.",