Skip to content

Commit d7e81a0

Browse files
committed
fix: lint
1 parent fad42ac commit d7e81a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/terminal/lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ program
2020
.option('--parity <parity>', 'Parity default: none', 'none')
2121
.option('--stopbits <bits>', 'Stop bits default: 1', makeNumber, 1)
2222
.option('--no-echo', "Don't print characters as you type them.")
23-
.option('--flow-ctl <mode>', "Enable flow control {XONOFF | RTSCTS}.")
23+
.option('--flow-ctl <mode>', 'Enable flow control {XONOFF | RTSCTS}.')
2424
.parse(process.argv)
2525

2626
const args = program.opts()
@@ -61,7 +61,7 @@ const createPort = path => {
6161
stopBits: args.stopbits,
6262
rtscts: args.flowCtl === 'CTSRTS',
6363
xon: args.flowCtl === 'XONOFF',
64-
xoff: args.flowCtl === 'XONOFF'
64+
xoff: args.flowCtl === 'XONOFF',
6565
}
6666

6767
const port = new SerialPort(path, openOptions)

0 commit comments

Comments
 (0)