mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 23:14:43 +00:00
Fix issues found by perfsprint linter
This commit is contained in:
@@ -20,7 +20,7 @@ func NewTreePrinter() *TreePrinter {
|
||||
// Print generates a tree view of repos and their statuses.
|
||||
func (p *TreePrinter) Print(root string, repos []Printable) string {
|
||||
if len(repos) == 0 {
|
||||
return fmt.Sprintf("There are no git repos under %s", root)
|
||||
return "There are no git repos under " + root
|
||||
}
|
||||
|
||||
tree := buildTree(root, repos)
|
||||
|
||||
Reference in New Issue
Block a user