diff options
| author | Jack Nagel | 2013-11-25 13:22:03 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-25 13:22:03 -0600 |
| commit | 6675fd88fc3421711ea021287deb4aae8c6206f4 (patch) | |
| tree | a2967e23b91d4a50277333ad8dfd322af324d41c /Library | |
| parent | 09c9d519888114682e54fe3a79a18d51e397c04b (diff) | |
| download | brew-6675fd88fc3421711ea021287deb4aae8c6206f4.tar.bz2 | |
Fix some unanchored patch URLs
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 6c4e09a07..be8d7c077 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -282,7 +282,7 @@ class FormulaAuditor def audit_patches Patches.new(f.patches).select(&:external?).each do |p| case p.url - when %r[raw\.github\.com], %r[gist\.github\.com/raw] + when %r[raw\.github\.com], %r[gist\.github\.com/raw], %r[gist\.github\.com/.+/raw$] unless p.url =~ /[a-fA-F0-9]{40}/ problem "GitHub/Gist patches should specify a revision:\n#{p.url}" end |
