Skip to content

Commit

Permalink
Fixes incorrect cast of parameters in CommandBuilder (#3015)
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan authored Dec 5, 2024
1 parent c78296f commit aaa8df9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ ICommandBuilder ICommandBuilder.WithNameAsRegex(bool value) =>

/// <inheritdoc/>
ICommandBuilder ICommandBuilder.AddParameters(params IParameterBuilder[] parameters) =>
AddParameters(parameters as TParamBuilder);
AddParameters(parameters as TParamBuilder[]);

/// <inheritdoc/>
ICommandBuilder ICommandBuilder.WithPreconditions(params PreconditionAttribute[] preconditions) =>
Expand Down

0 comments on commit aaa8df9

Please sign in to comment.