File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
nanoFirmwareFlasher.Library Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,6 @@ public async Task<ExitCodes> UpdateDeviceClrAsync(
262262 Console . ForegroundColor = ConsoleColor . Cyan ;
263263
264264 Console . WriteLine ( $ "Connected to nano device: { nanoDevice . Description } ") ;
265- Console . WriteLine ( $ "{ nanoDevice . DeviceInfo . ClrBuildVersion } ") ;
266265 Console . WriteLine ( "" ) ;
267266
268267 Console . ForegroundColor = ConsoleColor . White ;
@@ -368,6 +367,16 @@ public async Task<ExitCodes> UpdateDeviceClrAsync(
368367 Console . ForegroundColor = ConsoleColor . White ;
369368 }
370369 }
370+ else
371+ {
372+ if ( verbosity >= VerbosityLevel . Normal )
373+ {
374+ Console . ForegroundColor = ConsoleColor . Red ;
375+ Console . WriteLine ( "FAILED!" ) ;
376+
377+ return ExitCodes . E2002 ;
378+ }
379+ }
371380
372381 if ( attemptToLaunchBooter )
373382 {
You can’t perform that action at this time.
0 commit comments