pkg/terminal: do not use deprecated strings.Title (#3756)
This commit is contained in:
parent
ed2960b01c
commit
82ff628751
@ -3522,7 +3522,7 @@ func formatBreakpointName(bp *api.Breakpoint, upcase bool) string {
|
|||||||
thing = "watchpoint"
|
thing = "watchpoint"
|
||||||
}
|
}
|
||||||
if upcase {
|
if upcase {
|
||||||
thing = strings.Title(thing)
|
thing = strings.ToUpper(string(thing[0])) + thing[1:]
|
||||||
}
|
}
|
||||||
id := bp.Name
|
id := bp.Name
|
||||||
if id == "" {
|
if id == "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user