Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

some programs, like nodelint, emit data to stdout even when failing #35

Merged
merged 1 commit into from over 1 year ago

2 participants

Marek Stasikowski Chris O'Hara
Marek Stasikowski

without this I have no access to the data I need from nodelint when cli.exec'ing it

Marek Stasikowski some programs, like nodelint, emit data to stdout even when failing
without this I have no access to the data I need from nodelint when cli.exec'ing it
64eb1c5
Chris O'Hara
Owner

thanks

Chris O'Hara chriso merged commit d103af2 into from September 24, 2012
Chris O'Hara chriso closed this September 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Aug 29, 2012
Marek Stasikowski some programs, like nodelint, emit data to stdout even when failing
without this I have no access to the data I need from nodelint when cli.exec'ing it
64eb1c5
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  cli.js
2  cli.js
@@ -1067,7 +1067,7 @@ cli.exec = function (cmd, callback, errback) {
1067 1067
         err = err || stderr;
1068 1068
         if (err) {
1069 1069
             if (errback) {
1070  
-                return errback(err);
  1070
+                return errback(err, stdout);
1071 1071
             }
1072 1072
             return cli.fatal('exec() failed\n' + err);
1073 1073
         }
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.