Skip to content

Commit 88a604e

Browse files
author
Zeno Rocha
committed
The developer should threat the error on callback
1 parent 3955a80 commit 88a604e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

git.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ Git.prototype.exec = function (command, options, args, callback) {
3131
+ args;
3232

3333
exec(cmd, function (err, stdout, stderr) {
34-
if (err)
35-
console.log(err);
3634
callback(err, stdout);
3735
});
3836
};

0 commit comments

Comments
 (0)