From 3067f13dabaf60b02c7a60ff07566520dfa1c339 Mon Sep 17 00:00:00 2001 From: Bruce Mbudi <97241945+bruceowenga@users.noreply.github.com> Date: Tue, 6 Feb 2024 22:24:20 +0300 Subject: [PATCH] fix: grammatical error in deploy message (#502) Co-authored-by: Bruce --- lib/commands/run/index.ts | 2 +- test/unit/commands/run/index-test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.`, ); });