Skip to content

Commit 2c5868d

Browse files
committed
fix(fixer): addressed DeepScan's issue
1 parent 4e804e5 commit 2c5868d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fixer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ const fixSpecialChar = ({ start, fixedData, verbose }) => {
187187
.replace(/\n/g, '\\n')
188188
.replace(/\r/g, '\\r')
189189
.replace(/\t/g, '\\t')
190-
.replace(/\\/g, '\\');
190+
.replace(/\\/g, '\\\\');
191191

192192
if (brokenLine.endsWith('"') && brokenLine[start.column] === undefined) {
193193
if (verbose) psw(chalk.magenta('New line'));

0 commit comments

Comments
 (0)