Use global var $stderr instead of constant STDERR

This commit is contained in:
Josh Hagins
2016-01-04 18:15:28 -05:00
parent 205ccc3c3a
commit a23e270414
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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