audit: fix suggested GitHub pull request URLs

Closes #746.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2016-08-18 14:47:34 -07:00
parent ef2674b812
commit a5dac52d10

View File

@ -671,7 +671,7 @@ class FormulaAuditor
when %r{https?://patch-diff\.githubusercontent\.com/raw/(.+)/(.+)/pull/(.+)\.(?:diff|patch)}
problem <<-EOS.undent
use GitHub pull request URLs:
https://github.com/#{$1}/#{$2}/pulls/#{$3}.patch
https://github.com/#{$1}/#{$2}/pull/#{$3}.patch
Rather than patch-diff:
#{patch.url}
EOS