Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
github doesn't use .io urls
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Jul 10, 2013
1 parent 71f59a4 commit d9aa5e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Library/Homebrew/cmd/audit.rb
Expand Up @@ -204,8 +204,10 @@ def audit_urls
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)
Expand Down

0 comments on commit d9aa5e3

Please sign in to comment.