mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 08:21:26 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -12,7 +12,9 @@ export function maybeHandleQueueDirective(params: {
|
||||
sessionEntry?: SessionEntry;
|
||||
}): ReplyPayload | undefined {
|
||||
const { directives } = params;
|
||||
if (!directives.hasQueueDirective) return undefined;
|
||||
if (!directives.hasQueueDirective) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const wantsStatus =
|
||||
!directives.queueMode &&
|
||||
|
||||
Reference in New Issue
Block a user