We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37dd265 commit c1e0e01Copy full SHA for c1e0e01
cmd/mcptools/main.go
@@ -687,7 +687,7 @@ func newShellCmd() *cobra.Command { //nolint:gocyclo
687
688
params := map[string]any{}
689
for ii := 1; ii < len(commandArgs); ii++ {
690
- if commandArgs[ii] == flagParams || commandArgs[i] == flagParamsShort {
+ if commandArgs[ii] == flagParams || commandArgs[ii] == flagParamsShort {
691
if ii+1 < len(commandArgs) {
692
if jsonErr := json.Unmarshal([]byte(commandArgs[ii+1]), ¶ms); jsonErr != nil {
693
fmt.Fprintf(os.Stderr, "Error: invalid JSON for params: %v\n", jsonErr)
0 commit comments