pkg/terminal: do not use deprecated strings.Title (#3756)

This commit is contained in:
Oleksandr Redko 2024-06-25 14:15:07 +03:00 committed by GitHub
parent ed2960b01c
commit 82ff628751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3522,7 +3522,7 @@ func formatBreakpointName(bp *api.Breakpoint, upcase bool) string {
thing = "watchpoint"
}
if upcase {
thing = strings.Title(thing)
thing = strings.ToUpper(string(thing[0])) + thing[1:]
}
id := bp.Name
if id == "" {