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:
Viktor Szakats 2015-05-14 17:10:45 +02:00 committed by Mike McQuaid
parent 0a2dd832b9
commit a054005883

View File

@ -282,9 +282,9 @@ class FormulaAuditor
# "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 =~ /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
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