mitigated fmt warnings

This commit is contained in:
Luxferre
2026-03-23 08:37:33 +02:00
parent 4aeb84c9b1
commit f9171e7158
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -168,7 +168,8 @@ var defaultMCPFactory MCPClientFactory = func(toolset string) (MCPClientInterfac
// Use WithCommandFunc to configure the command environment
c, err = client.NewStdioMCPClientWithOptions(command, env, args,
transport.WithCommandFunc(func(ctx context.Context, command string, env []string, args []string) (*exec.Cmd, error) {
transport.WithCommandFunc(func(ctx context.Context, command string,
env []string, args []string) (*exec.Cmd, error) {
cmd := exec.CommandContext(ctx, command, args...)
cmd.Env = env
return cmd, nil