mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
Fix typo in docs/api-stream.md (#1701)
This commit is contained in:
parent
865bb8aacc
commit
4e0126dc38
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ We make an effort to identify the hardware attached and have consistent results
|
|||
```js
|
||||
var SerialPort = require('serialport')
|
||||
SerialPort.list().then(
|
||||
ports => posts.forEach(console.log),
|
||||
ports => ports.forEach(console.log),
|
||||
err => console.error(err)
|
||||
)
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue