Skip to content

Commit a9dd7f7

Browse files
JoannaaKLSamMorrowDrums
authored andcommitted
Fix linter error
1 parent af476f2 commit a9dd7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/github-mcp-server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func wordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName {
107107
from := []string{"_"}
108108
to := "-"
109109
for _, sep := range from {
110-
name = strings.Replace(name, sep, to, -1)
110+
name = strings.ReplaceAll(name, sep, to)
111111
}
112112
return pflag.NormalizedName(name)
113113
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy