From 3b8073f76fc07d08f7e2ea7338ad0787ee8f6096 Mon Sep 17 00:00:00 2001 From: EscapeB Date: Tue, 27 Feb 2024 16:26:14 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> --- apps/sparo-lib/src/cli/commands/checkout.ts | 2 +- .../feat-support_add_profile_in_checkout_2024-02-23-08-25.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sparo-lib/src/cli/commands/checkout.ts b/apps/sparo-lib/src/cli/commands/checkout.ts index 4069e3f..7c9cbb3 100644 --- a/apps/sparo-lib/src/cli/commands/checkout.ts +++ b/apps/sparo-lib/src/cli/commands/checkout.ts @@ -288,7 +288,7 @@ export class CheckoutCommand implements ICommand { if (isNoProfile && (profiles.size || addProfiles.size)) { throw new Error( - `"--no-profile" can not be specified at the same time with "--profile" or "--add-profile"` + `The "--no-profile" parameter cannot be combined with "--profile" or "--add-profile"` ); } diff --git a/common/changes/sparo/feat-support_add_profile_in_checkout_2024-02-23-08-25.json b/common/changes/sparo/feat-support_add_profile_in_checkout_2024-02-23-08-25.json index c3d3bde..0fd8b8a 100644 --- a/common/changes/sparo/feat-support_add_profile_in_checkout_2024-02-23-08-25.json +++ b/common/changes/sparo/feat-support_add_profile_in_checkout_2024-02-23-08-25.json @@ -2,7 +2,7 @@ "changes": [ { "packageName": "sparo", - "comment": "feat: support --add-profile in sparo checkout", + "comment": "Improve \"sparo checkout\" to support the --add-profile parameter", "type": "none" } ],