Skip to content

Commit 351d86c

Browse files
authored
fix: replace explicit with specify as verb (#665)
1 parent 48ce898 commit 351d86c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

sources/Engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export class Engine {
237237
*
238238
* If the project doesn't include a specification file, we just assume that
239239
* whatever the user uses is exactly what they want to use. Since the version
240-
* isn't explicited, we fallback on known good versions.
240+
* isn't specified, we fallback on known good versions.
241241
*
242242
* Finally, if the project doesn't exist at all, we ask the user whether they
243243
* want to create one in the current project. If they do, we initialize a new

sources/commands/Base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ export abstract class BaseCommand extends Command<Context> {
1313
const lookup = await specUtils.loadSpec(this.context.cwd);
1414
switch (lookup.type) {
1515
case `NoProject`:
16-
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`);
16+
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`);
1717

1818
case `NoSpec`:
19-
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`);
19+
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`);
2020

2121
default: {
2222
return [lookup.spec];

sources/commands/deprecated/Prepare.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ export class PrepareCommand extends Command<Context> {
3636
const lookup = await specUtils.loadSpec(this.context.cwd);
3737
switch (lookup.type) {
3838
case `NoProject`:
39-
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`);
39+
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`);
4040

4141
case `NoSpec`:
42-
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`);
42+
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`);
4343

4444
default: {
4545
specs.push(lookup.spec);

0 commit comments

Comments
 (0)