diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index 80e46bd50f7e2..0297849a96393 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -656,8 +656,6 @@ def cask_plist_min_os sig { void } def audit_github_prerelease_version - return if cask.tap == "homebrew/cask-versions" - odebug "Auditing GitHub prerelease" user, repo = get_repo_data(%r{https?://github\.com/([^/]+)/([^/]+)/?.*}) if online? return if user.nil? @@ -670,8 +668,6 @@ def audit_github_prerelease_version sig { void } def audit_gitlab_prerelease_version - return if cask.tap == "homebrew/cask-versions" - user, repo = get_repo_data(%r{https?://gitlab\.com/([^/]+)/([^/]+)/?.*}) if online? return if user.nil? diff --git a/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb index eb21387245271..d5659638cb8a7 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb @@ -42,7 +42,7 @@ end it "returns nil for full name with invalid tap" do - expect(described_class.try_new("homebrew/cask-versions/#{token}")).to be_nil + expect(described_class.try_new("homebrew/cask-fonts/#{token}")).to be_nil end end end