mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
rubocops/shared/url_helper: update url audit
This commit is contained in:
parent
870b3423bc
commit
f036c2cc1d
@ -241,7 +241,6 @@ module RuboCop
|
|||||||
audit_urls(urls, zip_gh_pattern) do |_, url|
|
audit_urls(urls, zip_gh_pattern) do |_, url|
|
||||||
next if url.match? %r{raw.githubusercontent.com/.*/.*/(main|master|HEAD)/}
|
next if url.match? %r{raw.githubusercontent.com/.*/.*/(main|master|HEAD)/}
|
||||||
next if url.include?("releases/download")
|
next if url.include?("releases/download")
|
||||||
next if url.include?("desktop.githubusercontent.com/github-desktop/releases/")
|
|
||||||
next if url.include?("desktop.githubusercontent.com/releases/")
|
next if url.include?("desktop.githubusercontent.com/releases/")
|
||||||
|
|
||||||
problem "Use GitHub tarballs rather than zipballs (url is #{url})."
|
problem "Use GitHub tarballs rather than zipballs (url is #{url})."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user