diff options
| author | Adam Vandenberg | 2013-07-09 20:50:30 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-09 20:50:30 -0700 |
| commit | d9aa5e3bcaff592185847ccdbccf0292820a222c (patch) | |
| tree | 27a4b0e0d2f5839566b38e34bd0bb7c0ed25ccbc /Library | |
| parent | 71f59a4a3efc1c75330902da30ac3f95db766c0d (diff) | |
| download | homebrew-d9aa5e3bcaff592185847ccdbccf0292820a222c.tar.bz2 | |
github doesn't use .io urls
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index b983f98a4..6e86043fe 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -204,8 +204,10 @@ class FormulaAuditor problem "Google Code homepage should end with a slash (url is #{f.homepage})." end - if f.homepage =~ %r[^http://.*\.github\.com/] - problem "GitHub pages should use the github.io domain (url is #{f.homepage})" + if f.homepage =~ %r[^http://(.*)\.github\.com/] + if $1 != 'github' + problem "GitHub pages should use the github.io domain (url is #{f.homepage})" + end end urls = @specs.map(&:url) |
