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:
parent
578ed2c89d
commit
2a92fb6016
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@ module Sass
|
||||||
def _perform(environment)
|
def _perform(environment)
|
||||||
res = @expr.perform(environment)
|
res = @expr.perform(environment)
|
||||||
if filename
|
if filename
|
||||||
puts "#{filename}:#{line} DEBUG: #{res}"
|
STDERR.puts "#{filename}:#{line} DEBUG: #{res}"
|
||||||
else
|
else
|
||||||
puts "Line #{line} DEBUG: #{res}"
|
STDERR.puts "Line #{line} DEBUG: #{res}"
|
||||||
end
|
end
|
||||||
[]
|
[]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue