Skip to content

Commit

Permalink
prependRight --> prependLeft
Browse files Browse the repository at this point in the history
  • Loading branch information
NaridaL committed Mar 6, 2018
1 parent c8b8f27 commit 785fdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/nodes/ClassDeclaration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class ClassDeclaration extends ClassNode {
const name = this.id.variable.getName()
if (name !== this.id.variable.name) {
code.appendRight(this.start, `let ${this.id.variable.safeName} = `)
code.prependRight(this.end, ';');
code.prependLeft(this.end, ';');
}
}
super.render(code, options);
Expand Down

0 comments on commit 785fdfc

Please sign in to comment.