audit: fix two message typos
Originally submitted as part of https://github.com/Homebrew/homebrew/pull/38824/files, later reverted due another hunk. Closes Homebrew/homebrew#39753. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
0a2dd832b9
commit
a054005883
@ -282,9 +282,9 @@ class FormulaAuditor
|
|||||||
# "Software" is redirected to https://wiki.freedesktop.org/www/Software/project_name
|
# "Software" is redirected to https://wiki.freedesktop.org/www/Software/project_name
|
||||||
if homepage =~ %r[^http://((?:www|nice|libopenraw|liboil|telepathy|xorg)\.)?freedesktop\.org/(?:wiki/)?]
|
if homepage =~ %r[^http://((?:www|nice|libopenraw|liboil|telepathy|xorg)\.)?freedesktop\.org/(?:wiki/)?]
|
||||||
if homepage =~ /Software/
|
if homepage =~ /Software/
|
||||||
problem "The url should be styled `https://wiki.freedesktop.org/www/Software/project_name`, not #{homepage})."
|
problem "The url should be styled `https://wiki.freedesktop.org/www/Software/project_name`, not #{homepage}."
|
||||||
else
|
else
|
||||||
problem "The url should be styled `https://wiki.freedesktop.org/project_name`, not #{homepage})."
|
problem "The url should be styled `https://wiki.freedesktop.org/project_name`, not #{homepage}."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user