Skip to content

Commit e0eb358

Browse files
committed
[lscmd] Fprint to colour printer for summary
1 parent 773f813 commit e0eb358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gincmd/lscmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func printFileStatusList(statFiles map[ginclient.FileStatus][]string) {
108108
fmt.Fprintf(color.Output, "\n\t%s\n\n", cwriter(strings.Join(statFiles[status], "\n\t")))
109109
summary.WriteString(fmt.Sprintf(" %s: %d", cwriter(status.Abbrev()), len(statFiles[status])))
110110
}
111-
fmt.Println(summary)
111+
fmt.Fprintln(color.Output, summary)
112112
}
113113

114114
// LsRepoCmd sets up the file 'ls' subcommand

0 commit comments

Comments
 (0)