Skip to content

Commit

Permalink
Fix for wrong key in cli options
Browse files Browse the repository at this point in the history
  • Loading branch information
Viacheslav Moskalenko authored and tonyganch committed May 12, 2017
1 parent 3f42713 commit 16ad316
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 @@ -43,7 +43,7 @@ if (options.detect) {
var config = getConfig();
comb.configure(config);

if (options.ttymode || process.stdin.isTTY) {
if (options['tty-mode'] || process.stdin.isTTY) {
processFiles(options._);
} else {
processSTDIN();
Expand Down

0 comments on commit 16ad316

Please sign in to comment.