8000
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.
1 parent 7f38fd1 commit a92d9c5Copy full SHA for a92d9c5
cli.js
@@ -34,9 +34,10 @@ function ensurePort(port) {
34
35
const listPorts = (args) => {
36
const board = new Board()
37
- return board.listPorts()
+ return board.list_ports()
38
.then((ports) => {
39
- log('available ports', ports)
+ const boards = ports.filter(p => p.vendorId && p.productId)
40
+ log('available ports', boards)
41
return Promise.resolve()
42
})
43
}
0 commit comments