Skip to content

Commit 0c2db5f

Browse files
committed
[cli] Fix linter errors
1 parent 54c559e commit 0c2db5f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/cli.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function displayHelp() {
3131
' -l, --lint',
3232
' Run the tool in linter mode, without modifying files.',
3333
' -v, --verbose',
34-
' Whether to print logging info.',
34+
' Whether to print logging info.'
3535
];
3636
console.log(help.join('\n'));
3737
}
@@ -49,13 +49,13 @@ var getInputData = new vow.Promise(function(resolve) {
4949
});
5050

5151
function processInputData(input) {
52-
comb.processString(input).catch(e => {
53-
process.stderr.write(e.message);
54-
process.exit(1);
55-
}).then(output => {
56-
process.stdout.write(comb.processString(input));
57-
process.exit(0);
58-
});
52+
comb.processString(input).catch(e => {
53+
process.stderr.write(e.message);
54+
process.exit(1);
55+
}).then(output => {
56+
process.stdout.write(output);
57+
process.exit(0);
58+
});
5959
}
6060

6161
function processSTDIN() {

0 commit comments

Comments
 (0)