From 5fa14cc6214788530adb6c4f8536301943097fca Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 26 Feb 2025 11:53:27 +0100 Subject: [PATCH] fix: replace explicit with specify as verb --- sources/Engine.ts | 2 +- sources/commands/Base.ts | 4 ++-- sources/commands/deprecated/Prepare.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sources/Engine.ts b/sources/Engine.ts index f34f2fa26..ce98e7f2f 100644 --- a/sources/Engine.ts +++ b/sources/Engine.ts @@ -237,7 +237,7 @@ export class Engine { * * If the project doesn't include a specification file, we just assume that * whatever the user uses is exactly what they want to use. Since the version - * isn't explicited, we fallback on known good versions. + * isn't specified, we fallback on known good versions. * * Finally, if the project doesn't exist at all, we ask the user whether they * want to create one in the current project. If they do, we initialize a new diff --git a/sources/commands/Base.ts b/sources/commands/Base.ts index ef7c0e4c8..6bc5275b3 100644 --- a/sources/commands/Base.ts +++ b/sources/commands/Base.ts @@ -13,10 +13,10 @@ export abstract class BaseCommand extends Command { const lookup = await specUtils.loadSpec(this.context.cwd); switch (lookup.type) { case `NoProject`: - throw new UsageError(`Couldn't find a project in the local directory - please explicit the package manager to pack, or run this command from a valid project`); + throw new UsageError(`Couldn't find a project in the local directory - please specify the package manager to pack, or run this command from a valid project`); case `NoSpec`: - throw new UsageError(`The local project doesn't feature a 'packageManager' field - please explicit the package manager to pack, or update the manifest to reference it`); + throw new UsageError(`The local project doesn't feature a 'packageManager' field - please specify the package manager to pack, or update the manifest to reference it`); default: { return [lookup.spec]; diff --git a/sources/commands/deprecated/Prepare.ts b/sources/commands/deprecated/Prepare.ts index 7b1ddf240..b70b41553 100644 --- a/sources/commands/deprecated/Prepare.ts +++ b/sources/commands/deprecated/Prepare.ts @@ -36,10 +36,10 @@ export class PrepareCommand extends Command { const lookup = await specUtils.loadSpec(this.context.cwd); switch (lookup.type) { case `NoProject`: - throw new UsageError(`Couldn't find a project in the local directory - please explicit the package manager to pack, or run this command from a valid project`); + throw new UsageError(`Couldn't find a project in the local directory - please specify the package manager to pack, or run this command from a valid project`); case `NoSpec`: - throw new UsageError(`The local project doesn't feature a 'packageManager' field - please explicit the package manager to pack, or update the manifest to reference it`); + throw new UsageError(`The local project doesn't feature a 'packageManager' field - please specify the package manager to pack, or update the manifest to reference it`); default: { specs.push(lookup.spec);