Skip to content

Commit 67104f4

Browse files
committed
Var name nit
1 parent 4784d0c commit 67104f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/optimize.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -585,13 +585,13 @@ async function addOverrides(
585585
})
586586
})
587587
if (workspaceGlobs) {
588-
const wsPkgJsonPaths = await tinyGlob(workspaceGlobs, {
588+
const workspacePkgJsonPaths = await tinyGlob(workspaceGlobs, {
589589
absolute: true,
590590
cwd: pkgPath!,
591591
ignore: ['**/node_modules/**', '**/bower_components/**']
592592
})
593593
// Chunk package names to process them in parallel 3 at a time.
594-
await pEach(wsPkgJsonPaths, 3, async wsPkgJsonPath => {
594+
await pEach(workspacePkgJsonPaths, 3, async workspacePkgJsonPath => {
595595
const otherState = await addOverrides(
596596
{
597597
agent,
@@ -600,7 +600,7 @@ async function addOverrides(
600600
manifestEntries,
601601
npmExecPath,
602602
pin,
603-
pkgPath: path.dirname(wsPkgJsonPath),
603+
pkgPath: path.dirname(workspacePkgJsonPath),
604604
prod,
605605
rootPath
606606
},

0 commit comments

Comments
 (0)