File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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
5151function 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
6161function processSTDIN ( ) {
You can’t perform that action at this time.
0 commit comments