Skip to content

Commit

Permalink
Fix bug when no repos are present
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindaugas Vaitekunas committed Sep 8, 2017
1 parent 0e3a940 commit 85eea01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func printVersionTable(repos []string, repoVersions map[string]*Versions, last b
} else {
if len(repos) > 1 {
table.AddTitle("Highest versions per repository")
} else {
} else if len(repos) == 1 {
table.AddTitle(fmt.Sprintf("Highest version of '%s'", repos[0]))
}
}
Expand Down

0 comments on commit 85eea01

Please sign in to comment.