fix(commits): Use --no-color
for git branch
-command
When `git branch --contains ${commit}` has colored output the `inHistory` check failed
This commit is contained in:
parent
2be6e5d34a
commit
f239f2f402
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user