Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Jan 18, 2022
1 parent fad42ac commit d7e81a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/terminal/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ program
.option('--parity <parity>', 'Parity default: none', 'none')
.option('--stopbits <bits>', 'Stop bits default: 1', makeNumber, 1)
.option('--no-echo', "Don't print characters as you type them.")
.option('--flow-ctl <mode>', "Enable flow control {XONOFF | RTSCTS}.")
.option('--flow-ctl <mode>', 'Enable flow control {XONOFF | RTSCTS}.')
.parse(process.argv)

const args = program.opts()
Expand Down Expand Up @@ -61,7 +61,7 @@ const createPort = path => {
stopBits: args.stopbits,
rtscts: args.flowCtl === 'CTSRTS',
xon: args.flowCtl === 'XONOFF',
xoff: args.flowCtl === 'XONOFF'
xoff: args.flowCtl === 'XONOFF',
}

const port = new SerialPort(path, openOptions)
Expand Down

0 comments on commit d7e81a0

Please sign in to comment.