diff --git a/lib/branch.js b/lib/branch.js index 5901a73..d879cc7 100644 --- a/lib/branch.js +++ b/lib/branch.js @@ -25,6 +25,6 @@ module.exports = function (branch, opt, cb) { return exec(cmd, {cwd: opt.cwd, maxBuffer: maxBuffer}, function(err, stdout, stderr) { if (err) return cb(err); if (!opt.quiet) gutil.log(stdout, stderr); - cb(); + cb(null, stdout); }); };