Skip to content

Commit

Permalink
[cli] TTY-option type set to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
tenorok authored and tonyganch committed Mar 22, 2019
1 parent adcfc01 commit 19b9799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if (options['tty-mode'] || process.stdin.isTTY) {

function getOptions() {
var parserOptions = {
boolean: ['help', 'lint', 'verbose'],
boolean: ['help', 'lint', 'verbose', 'tty-mode'],
alias: {
config: 'c',
detect: 'd',
Expand Down

0 comments on commit 19b9799

Please sign in to comment.