Skip to content

Commit a4677a2

Browse files
committed
Ensured all occurrences of path.win32.sep are replaced with path.posix.sep.
Signed-off-by: ubi de feo <[email protected]>
1 parent fe97045 commit a4677a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const Serial = {
6060
return board.fs_save(content || ' ', filename, dataConsumer)
6161
},
6262
uploadFile: async (src, dest, dataConsumer) => {
63-
return board.fs_put(src, dest.replace(path.win32.sep, '/'), dataConsumer)
63+
return board.fs_put(src, dest.replaceAll(path.win32.sep, path.posix.sep), dataConsumer)
6464
},
6565
downloadFile: async (src, dest) => {
6666
let contents = await Serial.loadFile(src)

0 commit comments

Comments
 (0)