Don't output warning to stdout.

This commit is contained in:
Markus Reiter 2020-08-29 20:24:08 +02:00
parent 9bbd866fc6
commit 46a93ee7bb

View File

@ -180,7 +180,7 @@ module Homebrew
def warn_if_cask_conflicts(ref, loaded_type)
cask = Cask::CaskLoader.load ref
puts "Treating #{ref} as a #{loaded_type}. For the cask, use #{cask.tap.name}/#{cask.token}"
opoo "Treating #{ref} as a #{loaded_type}. For the cask, use #{cask.tap.name}/#{cask.token}"
rescue Cask::CaskUnavailableError
# No ref conflict with a cask, do nothing
end