We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10f6608 commit ae2c82aCopy full SHA for ae2c82a
preload.js
@@ -123,7 +123,6 @@ const Disk = {
123
return ipcRenderer.invoke('remove-file', filePath)
124
},
125
saveFileContent: async (filePath, content) => {
126
- console.log('saveFileContent', filePath, content)
127
return ipcRenderer.invoke('save-file', filePath, content)
128
129
renameFile: async (oldName, newName) => {
ui/arduino/store.js
@@ -1090,7 +1090,7 @@ async function store(state, emitter) {
1090
selectedFile.fileName
1091
)
1092
1093
- const bytesToSource = String.fromCharCode.apply(null, fileContent);
+ const bytesToSource = String.fromCharCode(...fileContent);
1094
file = createFile({
1095
parentFolder: state.boardNavigationPath,
1096
fileName: selectedFile.fileName,
0 commit comments