Compare commits

...
1 Commits
Author SHA1 Message Date
PAkerstrandandStephan Bönnemann f239f2f402 fix(commits): Use --no-color for git branch-command
When `git branch --contains ${commit}` has colored output the `inHistory` check failed
2016-11-21 09:46:44 -03:00
+1 -1
View File
@@ -13,7 +13,7 @@ module.exports = function (config, cb) {
if (!from) return extract()
exec('git branch --contains ' + from, function (err, stdout) {
exec('git branch --no-color --contains ' + from, function (err, stdout) {
var inHistory = false
var branches