Skip to content

Commit

Permalink
fix display error for uloc when by-file added
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed May 1, 2024
1 parent 3a0f4ed commit bec29dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processor/formatters.go
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ func fileSummarizeLong(input chan *FileJob) string {

if UlocMode {
str.WriteString(fmt.Sprintf(tabularWideUlocLanguageFormatBody, len(ulocLanguageCount[summary.Name])))
if summary.Name != language[len(language)-1].Name {
if !Files && summary.Name != language[len(language)-1].Name {
str.WriteString(tabularWideBreakCi)
}
}
Expand Down Expand Up @@ -1072,7 +1072,7 @@ func fileSummarizeShort(input chan *FileJob) string {

if UlocMode {
str.WriteString(fmt.Sprintf(tabularShortUlocLanguageFormatBody, len(ulocLanguageCount[summary.Name])))
if summary.Name != language[len(language)-1].Name {
if !Files && summary.Name != language[len(language)-1].Name {
str.WriteString(tabularShortBreakCi)
}
}
Expand Down

0 comments on commit bec29dc

Please sign in to comment.