Skip to content

Commit ae2c82a

Browse files
committed
Removed log, fixed conversion from Array of Numbers to String.
Signed-off-by: ubi de feo <[email protected]>
1 parent 10f6608 commit ae2c82a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

preload.js

-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ const Disk = {
123123
return ipcRenderer.invoke('remove-file', filePath)
124124
},
125125
saveFileContent: async (filePath, content) => {
126-
console.log('saveFileContent', filePath, content)
127126
return ipcRenderer.invoke('save-file', filePath, content)
128127
},
129128
renameFile: async (oldName, newName) => {

ui/arduino/store.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ async function store(state, emitter) {
10901090
selectedFile.fileName
10911091
)
10921092
)
1093-
const bytesToSource = String.fromCharCode.apply(null, fileContent);
1093+
const bytesToSource = String.fromCharCode(...fileContent);
10941094
file = createFile({
10951095
parentFolder: state.boardNavigationPath,
10961096
fileName: selectedFile.fileName,

0 commit comments

Comments
 (0)