Merge pull request #17937 from khipp/fix-url-audit
rubocops/shared/url_helper: fix url audit
This commit is contained in:
commit
870b3423bc
@ -242,6 +242,7 @@ module RuboCop
|
||||
next if url.match? %r{raw.githubusercontent.com/.*/.*/(main|master|HEAD)/}
|
||||
next if url.include?("releases/download")
|
||||
next if url.include?("desktop.githubusercontent.com/github-desktop/releases/")
|
||||
next if url.include?("desktop.githubusercontent.com/releases/")
|
||||
|
||||
problem "Use GitHub tarballs rather than zipballs (url is #{url})."
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user