mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 00:48:27 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -52,6 +52,8 @@ export async function runAgentStep(params: {
|
||||
},
|
||||
timeoutMs: stepWaitMs + 2000,
|
||||
});
|
||||
if (wait?.status !== "ok") return undefined;
|
||||
if (wait?.status !== "ok") {
|
||||
return undefined;
|
||||
}
|
||||
return await readLatestAssistantReply({ sessionKey: params.sessionKey });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user