Skip to content

Commit

Permalink
Cleanup of quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
XmiliaH committed Nov 22, 2022
1 parent 750e985 commit 12790ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function transformer(args, body, isAsync, isGenerator, filename) {
const TO_RIGHT = 100;

let internStateValiable = undefined;
let tmpname = "VM2_INTERNAL_TMPNAME";
let tmpname = 'VM2_INTERNAL_TMPNAME';

acornWalkFull(ast, (node, state, type) => {
if (type === 'Function') {
Expand Down Expand Up @@ -158,7 +158,7 @@ function transformer(args, body, isAsync, isGenerator, filename) {
internStateValiable = node;
}
} else if (node.name.startsWith(tmpname)) {
tmpname = node.name + "_UNIQUE";
tmpname = node.name + '_UNIQUE';
}
} else if (nodeType === 'ImportExpression') {
insertions.push({
Expand Down

0 comments on commit 12790ca

Please sign in to comment.