preserve original indentation in template literals, fixes #2613

This commit is contained in:
Paolo Moretti 2015-11-03 18:04:14 +00:00
parent f5bbd09b49
commit 232bf76b4d

View File

@ -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(" }");
}