fix: guard update spinner output (#701) (thanks @bjesuiter)
This commit is contained in:
@@ -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..."));
|
||||
|
||||
Reference in New Issue
Block a user