Skip to content

Commit

Permalink
Fix grammatical error in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce committed Jan 26, 2024
1 parent 6b15c51 commit ad20a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/commands/run/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class RunCommand extends AbstractCommand {
new ResourcesConfig(path.join(process.cwd(), CONSTANTS.FILE_PATH.ASK_RESOURCES_JSON_CONFIG));
skillId = ResourcesConfig.getInstance().getSkillId(profile);
if (!stringUtils.isNonBlankString(skillId)) {
throw new CliError(`Failed to obtain skill-id for the given profile - ${profile}` + ". Please deploy you skill project first.");
throw new CliError(`Failed to obtain skill-id for the given profile - ${profile}` + ". Please deploy your skill project first.");
}
} catch (error) {
Messenger.getInstance().error(error);
Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/run/index-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("Commands Run test - command class test", () => {
sinon.stub(path, "join").returns(INVALID_RESOURCES_CONFIG_JSON_PATH);
// call
await expect(instance.handle(TEST_CMD_WITH_VALUES)).rejectedWith(
`Failed to obtain skill-id for the given profile - ${TEST_PROFILE}. Please deploy you skill project first.`,
`Failed to obtain skill-id for the given profile - ${TEST_PROFILE}. Please deploy your skill project first.`,
);
});

Expand Down

0 comments on commit ad20a14

Please sign in to comment.