diff --git a/Library/Homebrew/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/cask/artifact/abstract_uninstall.rb index de5044667a..19d8476b7e 100644 --- a/Library/Homebrew/cask/artifact/abstract_uninstall.rb +++ b/Library/Homebrew/cask/artifact/abstract_uninstall.rb @@ -364,8 +364,8 @@ module Cask trashable, untrashable = paths.partition(&:writable?) unless untrashable.empty? - opoo "These files cannot be moved to the user's Trash: " - puts untrashable + opoo "These files cannot be moved to the user's Trash:" + $stderr.puts untrashable end result = command.run!("/usr/bin/swift", args: [TRASH_SCRIPT, *trashable])