Skip to content

Commit

Permalink
Fix download from board to disk
Browse files Browse the repository at this point in the history
  • Loading branch information
murilopolese committed Aug 24, 2022
1 parent 7dfb454 commit b79c273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const Serial = {
},
downloadFile: async (folder, filename) => {
let contents = await Serial.loadFile(filename)
content = content.replace(//g, ``)
contents = contents.replace(//g, ``)
return ipcRenderer.invoke('save-file', folder, filename, contents)
},
renameFile: async (oldName, newName) => {
Expand Down

0 comments on commit b79c273

Please sign in to comment.