rubocops/shared/url_helper: update url audit

This commit is contained in:
Klaus Hipp 2024-08-02 20:00:10 +02:00
parent 870b3423bc
commit f036c2cc1d
No known key found for this signature in database
GPG Key ID: 1BD4AC7145515907

View File

@ -241,7 +241,6 @@ module RuboCop
audit_urls(urls, zip_gh_pattern) do |_, url|
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})."