Skip to content

Commit b79c273

Browse files
committedAug 24, 2022
Fix download from board to disk
1 parent 7dfb454 commit b79c273

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
@@ -79,7 +79,7 @@ const Serial = {
7979
},
8080
downloadFile: async (folder, filename) => {
8181
let contents = await Serial.loadFile(filename)
82-
content = content.replace(//g, ``)
82+
contents = contents.replace(//g, ``)
8383
return ipcRenderer.invoke('save-file', folder, filename, contents)
8484
},
8585
renameFile: async (oldName, newName) => {

0 commit comments

Comments
 (0)
Please sign in to comment.