Skip to content
Snippets Groups Projects
Commit 37e64a24 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

github doesn't use .io urls

parent 9b51f986
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment