File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,10 @@ module.exports = class SetupTachyonCommands extends CLICommandBase {
94
94
while ( edlDevices . length === 0 ) {
95
95
try {
96
96
edlDevices = await getEdlDevices ( ) ;
97
- if ( edlDevices . length === 0 && ! messageShown ) {
97
+ if ( edlDevices . length > 0 ) {
98
+ break ;
99
+ }
100
+ if ( ! messageShown ) {
98
101
const message = `${ this . ui . chalk . bold ( 'Before we get started, we need to power on your Tachyon board' ) } :` +
99
102
`${ os . EOL } ${ os . EOL } ` +
100
103
`1. Plug the USB-C cable into your computer and the Tachyon board.${ os . EOL } ` +
@@ -111,7 +114,7 @@ module.exports = class SetupTachyonCommands extends CLICommandBase {
111
114
await delay ( DEVICE_READY_WAIT_TIME ) ;
112
115
}
113
116
if ( messageShown ) {
114
- this . ui . stdout . write ( `Your device is now in ${ this . ui . chalk . bold ( 'system update' ) } mode!` ) ;
117
+ this . ui . stdout . write ( `Your device is now in ${ this . ui . chalk . bold ( 'system update' ) } mode!${ os . EOL } ` ) ;
115
118
await delay ( 1000 ) ; // give the user a moment to read the message
116
119
}
117
120
}
You can’t perform that action at this time.
0 commit comments