Skip to content

Commit

Permalink
with statements WIP 3
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Aug 30, 2023
1 parent 178d6d7 commit 2069161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/serialize/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ module.exports = {
// Rename injection node
renameInjectionVarNode();
} else if (!containsEval || paramName === 'with') { // `with` param is always renamed
newName = transformVarName(paramName);
newName = transformVarName(paramName, containsEval);
if (newName !== paramName) {
// Rename all nodes
for (const varNode of localVars[paramName]) {
Expand Down

0 comments on commit 2069161

Please sign in to comment.