1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Print debug output to stderr.

This commit is contained in:
Nathan Weizenbaum 2009-02-15 20:25:06 -08:00
parent 578ed2c89d
commit 2a92fb6016

View file

@ -11,9 +11,9 @@ module Sass
def _perform(environment)
res = @expr.perform(environment)
if filename
puts "#{filename}:#{line} DEBUG: #{res}"
STDERR.puts "#{filename}:#{line} DEBUG: #{res}"
else
puts "Line #{line} DEBUG: #{res}"
STDERR.puts "Line #{line} DEBUG: #{res}"
end
[]
end