audit: fix pypi strict audit capture group.
This commit is contained in:
parent
dd51a0f377
commit
3a08f81470
@ -1501,7 +1501,7 @@ class ResourceAuditor
|
||||
if @strict
|
||||
urls.each do |p|
|
||||
next unless p =~ %r{^https?://pypi.python.org/(.*)}
|
||||
problem "#{p} should be `https://files.pythonhosted.org/#{$2}`"
|
||||
problem "#{p} should be `https://files.pythonhosted.org/#{$1}`"
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user