Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96f0173

Browse files
JoannaaKLSamMorrowDrums
authored andcommitted
Fix linter error
1 parent0166ca5 commit96f0173

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:=rangefrom {
110-
name=strings.Replace(name,sep,to,-1)
110+
name=strings.ReplaceAll(name,sep,to)
111111
}
112112
returnpflag.NormalizedName(name)
113113
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp