We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1ae0e2 commit 551393fCopy full SHA for 551393f
js/comms.js
@@ -291,7 +291,7 @@ const Comms = {
291
noACK: Const.PACKET_UPLOAD_NOACK
292
});
293
} else {
294
- return Comms.uploadCommandList(f.cmd, currentBytes, maxBytes).then(doUploadFiles);
+ return Comms.uploadCommandList(f.cmd, currentBytes, maxBytes);
295
}
296
297
lib/espruinotools.js
@@ -6424,6 +6424,8 @@ return exports;})();
6424
nextCh();escape += ch;
6425
6426
value += String.fromCharCode(parseInt(escape.substr(2), 16));
6427
+ } else if (q=="/") { // just pass regex escape characters through to value
6428
+ value += escape;
6429
6430
try {
6431
value += JSON.parse('"'+escape+'"');
0 commit comments