fix: guard update spinner output (#701) (thanks @bjesuiter)

This commit is contained in:
Peter Steinberger committed 2026-01-11 03:03:09 +01:00
1 parent f3bd6e4957
commit 5ec3663748
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
return;
}
const showProgress = !opts.json && process.stderr.isTTY;
const showProgress = !opts.json && process.stdout.isTTY;
if (!opts.json) {
defaultRuntime.log(theme.heading("Updating Clawdbot..."));