diff --git a/lib/commands/ci.js b/lib/commands/ci.js index f6c97aea30f70..9b89c88498dc7 100644 --- a/lib/commands/ci.js +++ b/lib/commands/ci.js @@ -63,7 +63,7 @@ class CI extends ArboristWorkspaceCmd { const virtualInventory = new Map(virtualArb.virtualTree.inventory) // Now we make our real Arborist. - // We need a new one because the virtual tree fromt the lockfile can have extraneous dependencies in it that won't install on this platform + // We need a new one because the virtual tree from the lockfile can have extraneous dependencies in it that won't install on this platform const arb = new Arborist(opts) await arb.buildIdealTree() diff --git a/lib/trust-cmd.js b/lib/trust-cmd.js index 5fab8df1d21aa..8da76568e27e0 100644 --- a/lib/trust-cmd.js +++ b/lib/trust-cmd.js @@ -27,7 +27,7 @@ class TrustCommand extends BaseCommand { // dialogue is non-log text that is different from our usual npm prefix logging // it should always show to the user unless --json is specified - // it's not controled by log levels + // it's not controlled by log levels dialogue (strings, ...values) { const json = this.config.get('json') if (!json) { diff --git a/workspaces/libnpmexec/test/registry.js b/workspaces/libnpmexec/test/registry.js index 899c19d47ca8f..adbf4116107b4 100644 --- a/workspaces/libnpmexec/test/registry.js +++ b/workspaces/libnpmexec/test/registry.js @@ -229,7 +229,7 @@ t.test('packages with different versions in the global tree', async t => { }) }) -t.test('run from registry - non existant global path', async t => { +t.test('run from registry - non existent global path', async t => { const { fixtures, package } = createPkg({ versions: ['2.0.0'] }) const { exec, path, registry, readOutput } = setup(t, { @@ -240,7 +240,7 @@ t.test('run from registry - non existant global path', async t => { await exec({ args: ['@npmcli/create-index'], - globalPath: resolve(path, 'non-existant'), + globalPath: resolve(path, 'non-existent'), }) t.match(await readOutput('@npmcli-create-index'), {