Skip to content

Commit 16ad316

Browse files
Viacheslav Moskalenkotonyganch
Viacheslav Moskalenko
authored andcommitted
Fix for wrong key in cli options
1 parent 3f42713 commit 16ad316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if (options.detect) {
4343
var config = getConfig();
4444
comb.configure(config);
4545

46-
if (options.ttymode || process.stdin.isTTY) {
46+
if (options['tty-mode'] || process.stdin.isTTY) {
4747
processFiles(options._);
4848
} else {
4949
processSTDIN();

0 commit comments

Comments
 (0)