Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Fix The parameter null is not valid for this command. error when create command is executed. #1083

Merged
merged 1 commit into from
Apr 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/commands-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class CommandsService implements ICommandsService {
// Remove the matched parameter from unverifiedAllowedParams collection, so it will not be used to verify another argument.
unverifiedAllowedParams.splice(index, 1);
} else {
this.$errors.fail("The parameter %s is not valid for this command.", parameter);
this.$errors.fail(`The parameter ${argument} is not valid for this command.`);
}
}
}
Expand Down