Skip to content

Commit

Permalink
Merge pull request #17209 from Homebrew/hcv-references
Browse files Browse the repository at this point in the history
various: remove remaining Homebrew/cask-versions references
  • Loading branch information
apainintheneck authored May 3, 2024
2 parents c09ef9a + 7fe4d2e commit 777135a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions Library/Homebrew/cask/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand All @@ -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?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 777135a

Please sign in to comment.