Skip to content

Commit fa10a51

Browse files
awerlangstephenlacy
authored andcommitted
support git branch --contains (#160)
`git branch --contains` returns through stdout, this is the result of the operation.
1 parent 747a196 commit fa10a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/branch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ module.exports = function (branch, opt, cb) {
2525
return exec(cmd, {cwd: opt.cwd, maxBuffer: maxBuffer}, function(err, stdout, stderr) {
2626
if (err) return cb(err);
2727
if (!opt.quiet) gutil.log(stdout, stderr);
28-
cb();
28+
cb(null, stdout);
2929
});
3030
};

0 commit comments

Comments
 (0)