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.
2 parents 85c937d + a4677a2 commit 28b69deCopy full SHA for 28b69de
preload.js
@@ -60,7 +60,7 @@ const Serial = {
60
return board.fs_save(content || ' ', filename, dataConsumer)
61
},
62
uploadFile: async (src, dest, dataConsumer) => {
63
- return board.fs_put(src, dest, dataConsumer)
+ return board.fs_put(src, dest.replaceAll(path.win32.sep, path.posix.sep), dataConsumer)
64
65
downloadFile: async (src, dest) => {
66
let contents = await Serial.loadFile(src)
0 commit comments