We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CreateAndInit()
1 parent 1a94fdf commit e394b76Copy full SHA for e394b76
cli/board/list.go
@@ -56,13 +56,12 @@ func initListCommand() *cobra.Command {
56
57
// runListCommand detects and lists the connected arduino boards
58
func runListCommand(cmd *cobra.Command, args []string) {
59
+ inst := instance.CreateAndInit()
60
if watch {
- inst := instance.CreateAndInit()
61
watchList(cmd, inst)
62
os.Exit(0)
63
}
64
65
66
ports, err := board.List(&rpc.BoardListRequest{
67
Instance: inst,
68
Timeout: timeout.Milliseconds(),
0 commit comments