Skip to content

Commit

Permalink
fix: grammatical error in deploy message (#502)
Browse files Browse the repository at this point in the history
Co-authored-by: Bruce <[email protected]>
  • Loading branch information
bruceowenga and Bruce authored Feb 6, 2024
1 parent 6b15c51 commit 3067f13
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 3067f13

Please sign in to comment.