audit: Clarify GNU url warning message
"ftpmirror.gnu.org" must have a protocol prefix of "http", not "https". Closes Homebrew/homebrew#37567. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
4057a68e6e
commit
21314474cd
@ -311,7 +311,7 @@ class FormulaAuditor
|
||||
|
||||
# Check GNU urls; doesn't apply to mirrors
|
||||
urls.grep(%r[^(?:https?|ftp)://(?!alpha).+/gnu/]) do |u|
|
||||
problem "\"ftpmirror.gnu.org\" is preferred for GNU software (url is #{u})."
|
||||
problem "\"http://ftpmirror.gnu.org\" is preferred for GNU software (url is #{u})."
|
||||
end
|
||||
|
||||
# the rest of the checks apply to mirrors as well.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user