remove console log

pull/1623/head
Rich Harris 6 years ago
parent e937060de2
commit 45c52c5eb2

@ -315,7 +315,6 @@ export default class Compiler {
const alias = this.alias(name); const alias = this.alias(name);
inlineHelpers += `\n\nconst ${alias} = ${code};` inlineHelpers += `\n\nconst ${alias} = ${code};`
} else { } else {
if (!expression.id) console.log(name, expression);
const alias = this.alias(expression.id.name); const alias = this.alias(expression.id.name);
if (alias !== expression.id.name) { if (alias !== expression.id.name) {
code.overwrite(expression.id.start, expression.id.end, alias); code.overwrite(expression.id.start, expression.id.end, alias);

Loading…
Cancel
Save