Skip to content

Commit 5a59648

Browse files
devvaannshabose
authored andcommitted
fix: apostrophe in strings breaks the config json string
1 parent 13b8b7c commit 5a59648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveDevelopment/LiveDevMultiBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ define(function (require, exports, module) {
733733
*/
734734
function updateConfig(configJSON) {
735735
if (_protocol) {
736-
_protocol.evaluate("_LD.updateConfig('" + configJSON + "')");
736+
_protocol.evaluate("_LD.updateConfig(" + JSON.stringify(configJSON) + ")");
737737
}
738738
}
739739

0 commit comments

Comments
 (0)