Skip to content

Commit d62c5fe

Browse files
authored
fix: spelling in workspaces/libnpmexec (#8625)
1 parent 5e0909b commit d62c5fe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

workspaces/libnpmexec/lib/get-bin-from-manifest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const getBinFromManifest = (mani) => {
22
// if we have a bin matching (unscoped portion of) packagename, use that
33
// otherwise if there's 1 bin or all bin value is the same (alias), use
4-
// that, otherwise fail
4+
// that; otherwise, fail
55
const bin = mani.bin || {}
66
if (new Set(Object.values(bin)).size === 1) {
77
return Object.keys(bin)[0]

workspaces/libnpmexec/test/get-bin-from-manifest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ t.test('extract scope from manifest name with multiple bins', t => {
1515
t.end()
1616
})
1717

18-
t.test('can not figure out what executable to run', t => {
18+
t.test('cannot figure out what executable to run', t => {
1919
t.throws(
2020
() => getBinFromManifest({
2121
name: 'lorem',

workspaces/libnpmexec/test/local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ t.test('bin in local pkg', async t => {
5858
await chmod('node_modules/pkg-with-conflicting-bin/index.js')
5959

6060
// Note that we have to resetSeenLinks after each exec since otherwise
61-
// our non-existent file will fail when it gets attempted to get chmod'ed
61+
// our nonexistent file will fail when it gets attempted to get chmod'ed
6262
// in a real world situation these would happen during different
6363
// processes where these is no shared cache
6464
const exec = async (...args) => {

0 commit comments

Comments
 (0)