diff options
| author | Federico Bond | 2014-08-02 16:59:52 -0300 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-04 13:17:10 +0100 |
| commit | 5d4034d5b263b0a63e5892fca416de10812b79d0 (patch) | |
| tree | 5060dddb90ab8c2cf04e51cc1237df7fb1ee6455 /Library/Homebrew/utils.rb | |
| parent | 1f124f09c152323358e6a2eeae114ece471bb728 (diff) | |
| download | homebrew-5d4034d5b263b0a63e5892fca416de10812b79d0.tar.bz2 | |
utils: use the $stderr global variable.
For easier capturing.
Closes #31303.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 412a7dbc0..66dcc1bd9 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -54,11 +54,11 @@ def oh1 title end def opoo warning - STDERR.puts "#{Tty.red}Warning#{Tty.reset}: #{warning}" + $stderr.puts "#{Tty.red}Warning#{Tty.reset}: #{warning}" end def onoe error - STDERR.puts "#{Tty.red}Error#{Tty.reset}: #{error}" + $stderr.puts "#{Tty.red}Error#{Tty.reset}: #{error}" end def ofail error |
