mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 19:01:44 +00:00
refactor(cli): separate json payload output from logging
This commit is contained in:
@@ -223,7 +223,7 @@ export async function runNodeDaemonStatus(opts: NodeDaemonStatusOptions = {}) {
|
||||
};
|
||||
|
||||
if (json) {
|
||||
defaultRuntime.log(JSON.stringify(payload, null, 2));
|
||||
defaultRuntime.writeJson(payload);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user