Skip to content

Commit

Permalink
fix(ci): remove an unnecessary append function
Browse files Browse the repository at this point in the history
  • Loading branch information
vednoc committed May 2, 2024
1 parent 2399807 commit b5a9897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/util/humanize.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func RelDuration(d time.Duration) string {
return "just now"
}

b = append(b[:len(b)-2])
b = b[:len(b)-2]
if int(d) > 0 {
b = append(b, " ago"...)
}
Expand Down

0 comments on commit b5a9897

Please sign in to comment.