diff --git a/src/cli/config-manager/bun-install.ts b/src/cli/config-manager/bun-install.ts index f5e039954..1ef20dc08 100644 --- a/src/cli/config-manager/bun-install.ts +++ b/src/cli/config-manager/bun-install.ts @@ -67,7 +67,7 @@ function logCapturedOutputOnFailure(outputMode: BunInstallOutputMode, output: Bu export async function runBunInstallWithDetails(options?: RunBunInstallOptions): Promise { const outputMode = options?.outputMode ?? "pipe" - const cacheDir = getOpenCodeCacheDir() + const cacheDir = options?.workspaceDir ?? getOpenCodeCacheDir() const packageJsonPath = `${cacheDir}/package.json` if (!existsSync(packageJsonPath)) {