diff --git a/lib/commands/run/index.ts b/lib/commands/run/index.ts index 16f3ee3c..8974421c 100644 --- a/lib/commands/run/index.ts +++ b/lib/commands/run/index.ts @@ -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); diff --git a/test/unit/commands/run/index-test.ts b/test/unit/commands/run/index-test.ts index ffe993ef..c41fb30f 100644 --- a/test/unit/commands/run/index-test.ts +++ b/test/unit/commands/run/index-test.ts @@ -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.`, ); });