We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0fd522 commit ab1eff0Copy full SHA for ab1eff0
src/modules/js.js
@@ -85,7 +85,7 @@ exports.set = function(code, oldNames, newNames, jstrimmedstrvarbasestr) {
85
(char === '}' && line.includes('`') && line.includes('$') && line.includes('{'))
86
)) {
87
inString = true;
88
- stringChar = char;
+ stringChar = char === '}' ? '`' : char;
89
resultLine += char;
90
} else if (
91
inString && ((char === stringChar && line[i - 1] !== '\\') ||
0 commit comments