Skip to content

Commit 98c6c1e

Browse files
committed
Fix missing assignment.
1 parent 852060e commit 98c6c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func (cmd *Command) run(ctx context.Context, osArgs []string) (_ context.Context
275275
subCmd = cmd.Command(argsWithDefault.First())
276276
cmd.parsedArgs = argsWithDefault
277277
if !hasDefault && cmd.parsedArgs.Len() > 0 && cmd.parsedArgs.First() == "" {
278-
&stringSliceArgs{cmd.parsedArgs.Tail()}
278+
cmd.parsedArgs = &stringSliceArgs{cmd.parsedArgs.Tail()}
279279
}
280280
}
281281
}

0 commit comments

Comments
 (0)