Skip to content

Commit 81db102

Browse files
committed
fix lint error
1 parent 0e530bc commit 81db102

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmd/src/mcp.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ import (
77

88
func init() {
99
flagSet := flag.NewFlagSet("mcp", flag.ExitOnError)
10-
handler := func(args []string) error {
11-
return mcpMain(args)
12-
}
13-
1410
commands = append(commands, &command{
1511
flagSet: flagSet,
16-
handler: handler,
12+
handler: mcpMain,
1713
})
1814
}
1915
func mcpMain(args []string) error {

0 commit comments

Comments
 (0)