Fixed tests

Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
This commit is contained in:
Glenn Vriesman 2020-02-06 15:07:43 +01:00 committed by Jesse Duffield
parent b74107f2ba
commit d9eb6e2682
2 changed files with 5 additions and 6 deletions

View file

@ -288,7 +288,6 @@ func (c *CommitListBuilder) getLog(limit bool) string {
limitFlag = "-30"
}
c.Log.Warn(fmt.Sprintf("git log --oneline %s --abbrev=%d", limitFlag, 20))
result, err := c.OSCommand.RunCommandWithOutput(fmt.Sprintf("git log --oneline %s --abbrev=%d", limitFlag, 20))
if err != nil {
// assume if there is an error there are no commits yet for this branch