From f036c2cc1d591875dd666fcd77da8971a0f76f19 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Fri, 2 Aug 2024 20:00:10 +0200 Subject: [PATCH] rubocops/shared/url_helper: update url audit --- Library/Homebrew/rubocops/shared/url_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/rubocops/shared/url_helper.rb b/Library/Homebrew/rubocops/shared/url_helper.rb index 9c8e30db06..7440a365a6 100644 --- a/Library/Homebrew/rubocops/shared/url_helper.rb +++ b/Library/Homebrew/rubocops/shared/url_helper.rb @@ -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})."