Skip to content

Commit 2ca36c4

Browse files
chore: fixed non-functional typos throughout the codebase
1 parent 2e5dcad commit 2ca36c4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/commands/ci.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class CI extends ArboristWorkspaceCmd {
6363
const virtualInventory = new Map(virtualArb.virtualTree.inventory)
6464

6565
// Now we make our real Arborist.
66-
// 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
66+
// 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
6767
const arb = new Arborist(opts)
6868
await arb.buildIdealTree()
6969

lib/trust-cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class TrustCommand extends BaseCommand {
2727

2828
// dialogue is non-log text that is different from our usual npm prefix logging
2929
// it should always show to the user unless --json is specified
30-
// it's not controled by log levels
30+
// it's not controlled by log levels
3131
dialogue (strings, ...values) {
3232
const json = this.config.get('json')
3333
if (!json) {

workspaces/libnpmexec/test/registry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ t.test('packages with different versions in the global tree', async t => {
229229
})
230230
})
231231

232-
t.test('run from registry - non existant global path', async t => {
232+
t.test('run from registry - non existent global path', async t => {
233233
const { fixtures, package } = createPkg({ versions: ['2.0.0'] })
234234

235235
const { exec, path, registry, readOutput } = setup(t, {
@@ -240,7 +240,7 @@ t.test('run from registry - non existant global path', async t => {
240240

241241
await exec({
242242
args: ['@npmcli/create-index'],
243-
globalPath: resolve(path, 'non-existant'),
243+
globalPath: resolve(path, 'non-existent'),
244244
})
245245

246246
t.match(await readOutput('@npmcli-create-index'), {

0 commit comments

Comments
 (0)