Skip to content

Commit a489cb8

Browse files
committed
Fix lin tnits
1 parent 4faf24a commit a489cb8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/commands/fix/pnpm-fix.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fs from 'node:fs/promises'
21
import path from 'node:path'
32

43
import { readWantedLockfile } from '@pnpm/lockfile.fs'

src/commands/optimize/add-overrides.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export async function addOverrides(
6969
updated: new Set(),
7070
updatedInWorkspaces: new Set(),
7171
warnedPnpmWorkspaceRequiresNpm: false,
72-
workspacePkgJsonPaths: await globWorkspace(pkgEnvDetails)
72+
workspacePkgJsonPaths: await globWorkspace(agent, rootPath)
7373
}
7474
} = { __proto__: null, ...options } as AddOverridesOptions
7575
const isWorkspace = state.workspacePkgJsonPaths.length > 0

0 commit comments

Comments
 (0)