preserve original indentation in template literals, fixes #2613
This commit is contained in:
parent
f5bbd09b49
commit
232bf76b4d
@ -18,7 +18,7 @@ export function TemplateLiteral(node: Object) {
|
||||
this.print(quasis[i], node);
|
||||
|
||||
if (i + 1 < quasis.length) {
|
||||
this.push("${ ");
|
||||
this._push("${ ");
|
||||
this.print(node.expressions[i], node);
|
||||
this.push(" }");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user