fix(build): respect PATH-less pnpm environments

This commit is contained in:
Vincent Koc
2026-06-10 17:57:42 +09:00
parent 7d3e8dc963
commit 43bbde4830
5 changed files with 125 additions and 31 deletions
@@ -49,6 +49,7 @@ describe("resolveGeneratedModuleFormatter", () => {
expect(
resolveGeneratedModuleFormatter({
comSpec: "C:\\Windows\\System32\\cmd.exe",
env: { PATH: "" },
existsSync: () => false,
npmExecPath: "",
outputPath: "C:\\Users\\test\\AppData\\Local\\Temp\\generated output.ts",