From 12790ca08ff86873d571f0be5fb166ba861f3a5c Mon Sep 17 00:00:00 2001 From: XmiliaH Date: Tue, 22 Nov 2022 11:37:24 +0100 Subject: [PATCH] Cleanup of quotes --- lib/transformer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/transformer.js b/lib/transformer.js index 5346557..f20a248 100644 --- a/lib/transformer.js +++ b/lib/transformer.js @@ -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') { @@ -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({