Skip to content

Commit 4ecec2f

Browse files
committed
test(tooling): isolate pnpm fallback path
1 parent bb6e477 commit 4ecec2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/scripts/check-deadcode-unused-files.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ src/a.ts: src/a.ts
196196
const calls: unknown[] = [];
197197

198198
const resultPromise = runKnipUnusedFiles({
199+
env: { PATH: "" },
199200
npmExecPath: "",
200201
spawnCommand(command: string, args: string[], options: unknown) {
201202
calls.push({ args, command, options });

0 commit comments

Comments
 (0)