rubocops/shared/url_helper: fix url audit

This commit is contained in:
Klaus Hipp 2024-08-02 16:19:43 +02:00
parent ca22e9ccfa
commit 6e1ff402f0
No known key found for this signature in database
GPG Key ID: 1BD4AC7145515907

View File

@ -242,6 +242,7 @@ module RuboCop
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/github-desktop/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})."
end end