mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 13:51:31 +01:00
Fix @debug output. (#45)
This commit is contained in:
parent
2e0041d3c0
commit
b9df6f1334
@ -308,8 +308,10 @@ class _PerformVisitor
|
|||||||
}
|
}
|
||||||
|
|
||||||
Value visitDebugRule(DebugRule node) {
|
Value visitDebugRule(DebugRule node) {
|
||||||
stderr.writeln("Line ${node.span.start.line + 1} DEBUG: "
|
var start = node.span.start;
|
||||||
"${node.expression.accept(this)}");
|
var value = node.expression.accept(this);
|
||||||
|
stderr.writeln("${p.prettyUri(start.sourceUrl)}:${start.line + 1} DEBUG: "
|
||||||
|
"${value is SassString ? value.text : value}");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user