Skip to content

Commit b79c273

Browse files
committed
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

+1-1
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)