Skip to content

Commit 1a4c17f

Browse files
Merge pull request #12 from rduartes/master
Pass err and stderr to the callback
2 parents 1f0593c + d7c2e13 commit 1a4c17f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commandline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function getString(command,callback){
1717
(
1818
function(){
1919
return function(err,data,stderr){
20-
callback(data);
20+
callback(data,err,stderr);
2121
}
2222
}
2323
)(callback)

0 commit comments

Comments
 (0)