Skip to content

Commit 82ff628

Browse files
authored
pkg/terminal: do not use deprecated strings.Title (#3756)
1 parent ed2960b commit 82ff628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/terminal/command.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3522,7 +3522,7 @@ func formatBreakpointName(bp *api.Breakpoint, upcase bool) string {
35223522
thing = "watchpoint"
35233523
}
35243524
if upcase {
3525-
thing = strings.Title(thing)
3525+
thing = strings.ToUpper(string(thing[0])) + thing[1:]
35263526
}
35273527
id := bp.Name
35283528
if id == "" {

0 commit comments

Comments
 (0)