Skip to content

Commit 19b9799

Browse files
tenoroktonyganch
authored andcommitted
[cli] TTY-option type set to boolean
1 parent adcfc01 commit 19b9799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if (options['tty-mode'] || process.stdin.isTTY) {
5353

5454
function getOptions() {
5555
var parserOptions = {
56-
boolean: ['help', 'lint', 'verbose'],
56+
boolean: ['help', 'lint', 'verbose', 'tty-mode'],
5757
alias: {
5858
config: 'c',
5959
detect: 'd',

0 commit comments

Comments
 (0)