audit: fix suggested GitHub pull request URLs
Closes #746. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
ef2674b812
commit
a5dac52d10
@ -671,7 +671,7 @@ class FormulaAuditor
|
|||||||
when %r{https?://patch-diff\.githubusercontent\.com/raw/(.+)/(.+)/pull/(.+)\.(?:diff|patch)}
|
when %r{https?://patch-diff\.githubusercontent\.com/raw/(.+)/(.+)/pull/(.+)\.(?:diff|patch)}
|
||||||
problem <<-EOS.undent
|
problem <<-EOS.undent
|
||||||
use GitHub pull request URLs:
|
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:
|
Rather than patch-diff:
|
||||||
#{patch.url}
|
#{patch.url}
|
||||||
EOS
|
EOS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user