test(auto-update-checker): type background update bun install mock
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -103,8 +103,15 @@ export async function runBunInstallWithDetails(options?: RunBunInstallOptions):
|
||||
log("[cli/install] Failed to kill timed out bun install process:", err)
|
||||
}
|
||||
|
||||
await proc.exited
|
||||
logCapturedOutputOnFailure(outputMode, await outputPromise)
|
||||
if (outputMode === "pipe") {
|
||||
void outputPromise
|
||||
.then((output) => {
|
||||
logCapturedOutputOnFailure(outputMode, output)
|
||||
})
|
||||
.catch((err) => {
|
||||
log("[bun-install] Failed to read captured output after timeout:", err)
|
||||
})
|
||||
}
|
||||
|
||||
return {
|
||||
success: false,
|
||||
|
||||
Reference in New Issue
Block a user