Skip to content

Commit 3f749ed

Browse files
committed
Removing obsolete code
1 parent 28b69de commit 3f749ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/arduino/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ async function uploadFolder(srcPath, destPath, dataConsumer) {
15091509
let allFiles = await disk.ilistAllFiles(srcPath)
15101510
for (let i in allFiles) {
15111511
const file = allFiles[i]
1512-
const relativePath = file.path.substring(srcPath.length+1)
1512+
const relativePath = file.path.substring(srcPath.length)
15131513
if (file.type === 'folder') {
15141514
await serial.createFolder(
15151515
serial.getFullPath(

0 commit comments

Comments
 (0)