mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 01:38:26 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -50,7 +50,9 @@ export async function applyAuthChoice(
|
||||
|
||||
for (const handler of handlers) {
|
||||
const result = await handler(params);
|
||||
if (result) return result;
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
return { config: params.config };
|
||||
|
||||
Reference in New Issue
Block a user