mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Use global var $stderr instead of constant STDERR
This commit is contained in:
@@ -384,9 +384,9 @@ def report
|
||||
puts "Proposed file name: #{cask_file_name}"
|
||||
puts "Cask Header Line: cask '#{cask_token}' do"
|
||||
if warnings.length > 0
|
||||
STDERR.puts "\n"
|
||||
STDERR.puts warnings
|
||||
STDERR.puts "\n"
|
||||
$stderr.puts "\n"
|
||||
$stderr.puts warnings
|
||||
$stderr.puts "\n"
|
||||
exit 1
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user