From 46a93ee7bb11793e9726709a12570c701903ec0d Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 29 Aug 2020 20:24:08 +0200 Subject: [PATCH] Don't output warning to `stdout`. --- Library/Homebrew/cli/named_args.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cli/named_args.rb b/Library/Homebrew/cli/named_args.rb index 0284cbafa7..cde0735ddd 100644 --- a/Library/Homebrew/cli/named_args.rb +++ b/Library/Homebrew/cli/named_args.rb @@ -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