From 3a08f814703ad936b25a8f4a91424aea2bc4668b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 3 Jun 2017 20:25:12 +0100 Subject: audit: fix pypi strict audit capture group. --- Library/Homebrew/dev-cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/dev-cmd') diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index ccc8cd7c3..aaac9c96b 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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 -- cgit v1.2.3