particle-iot / particle-cli

Command Line Interface for Particle Cloud and devices
Apache License 2.0
212 stars 92 forks source link

bug/sc-122892/wrong-message-when-attempt-to-use-particle #684

Closed hugomontero closed 11 months ago

hugomontero commented 11 months ago

Description

This PR will fix the message when we attempt to run a command with no devices connected in the context of: particle update particle flash -- local particle flash --usb

How to Test

Current behavior It will appears the follow message:

!!! The device needs to be in Normal mode for this command.

> To put your device in Normal mode manually, please:

Press the RESET button and Release it
No devices found

New Behavior It will appears the follow message: No devices found

Related Issues / Discussions

Story details: https://app.shortcut.com/particle/story/122892

Completeness