Merge pull request #7133 from issyl0/audit-master-formula-patches-urls
rubocops/patches: Make more GitHub patch locations enforce revisions
This commit is contained in:
commit
a6158d621b
@ -39,6 +39,7 @@ module RuboCop
|
||||
end
|
||||
|
||||
gh_patch_patterns = Regexp.union([%r{/raw\.github\.com/},
|
||||
%r{/raw\.githubusercontent\.com/},
|
||||
%r{gist\.github\.com/raw},
|
||||
%r{gist\.github\.com/.+/raw},
|
||||
%r{gist\.githubusercontent\.com/.+/raw}])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user