|
return str.replace(/"/g, '"'); |
return str.replace(/"/g, '"');
The replacement string was probably meant to be '\\"'.
The code should be
return str.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
db-migrate-base/index.js
Line 682 in 05762f3
The replacement string was probably meant to be
'\\"'.The code should be
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.