Merge pull request #20173 from Homebrew/named_args_old_tokens_warning

cli/named_args: don't warn about old tokens overlapping.
This commit is contained in:
Mike McQuaid 2025-06-25 16:38:07 +00:00 committed by GitHub
commit db45e81d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -571,6 +571,7 @@ module Homebrew
end
return unless available
return if Context.current.quiet?
return if cask&.old_tokens&.include?(ref)
opoo package_conflicts_message(ref, loaded_type, cask)
end