File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,10 @@ async function store(state, emitter) {
285
285
}
286
286
emitter . emit ( 'open-panel' )
287
287
emitter . emit ( 'render' )
288
- await serialBridge . getPrompt ( )
288
+ if ( state . isConnected ) {
289
+ await serialBridge . getPrompt ( )
290
+ }
291
+
289
292
} )
290
293
emitter . on ( 'reset' , async ( ) => {
291
294
log ( 'reset' )
@@ -603,7 +606,7 @@ async function store(state, emitter) {
603
606
}
604
607
await serialBridge . saveFileContent (
605
608
serialBridge . getFullPath (
606
- '/' ,
609
+ state . boardNavigationRoot ,
607
610
state . boardNavigationPath ,
608
611
fileNameParameter
609
612
) ,
@@ -782,7 +785,7 @@ async function store(state, emitter) {
782
785
if ( file . source === 'board' ) {
783
786
await serialBridge . removeFile (
784
787
serialBridge . getFullPath (
785
- '/' ,
788
+ state . boardNavigationRoot ,
786
789
state . boardNavigationPath ,
787
790
file . fileName
788
791
)
You can’t perform that action at this time.
0 commit comments