mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 02:10:23 +00:00
refactor(cli): separate json payload output from logging
This commit is contained in:
@@ -254,7 +254,7 @@ export async function runGmailSetup(opts: GmailSetupOptions) {
|
||||
};
|
||||
|
||||
if (opts.json) {
|
||||
defaultRuntime.log(JSON.stringify(summary, null, 2));
|
||||
defaultRuntime.writeJson(summary);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user