Skip to content

Commit

Permalink
various: remove remaining Homebrew/cask-versions references
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
p-linnane committed May 2, 2024
1 parent 6768b64 commit 7fe4d2e
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 7fe4d2e

Please sign in to comment.