Skip to content

Commit 7bf07e1

Browse files
committed
Dependencies removal.
1 parent 73c08f8 commit 7bf07e1

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

index.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const path = require('path')
33
const fs = require('fs')
44
const openAboutWindow = require('about-window').default
55

6-
const { dir } = require('console')
76
let win = null // main window
87

98
// HELPERS

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
},
3838
"license": "MIT",
3939
"dependencies": {
40-
"directory-tree": "*",
4140
"about-window": "^1.15.2",
4241
"micropython.js": "github:arduino/micropython.js#v1.4.4"
4342
},

preload.js

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ const Serial = {
6262
uploadFile: async (src, dest, dataConsumer) => {
6363
return board.fs_put(src, dest, dataConsumer)
6464
},
65+
// keep dataConsumer for future progress display on downloading large files
6566
downloadFile: async (src, dest, dataConsumer) => {
6667
let contents = await Serial.loadFile(src)
6768
return ipcRenderer.invoke('save-file', dest, contents)

ui/arduino2/store.js

-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ async function store(state, emitter) {
9090
state.isConnected = false
9191
state.connectedPort = null
9292

93-
9493
state.isPanelOpen = false
9594
state.isSaving = false
9695
state.savingProgress = 0

0 commit comments

Comments
 (0)