github doesn't use .io urls
This commit is contained in:
parent
9b51f986c8
commit
37e64a2402
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user