mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-25 01:08:38 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -52,7 +52,9 @@ export async function ensureConfigReady(params: {
|
||||
: [];
|
||||
|
||||
const invalid = snapshot.exists && !snapshot.valid;
|
||||
if (!invalid) return;
|
||||
if (!invalid) {
|
||||
return;
|
||||
}
|
||||
|
||||
const rich = isRich();
|
||||
const muted = (value: string) => colorize(rich, theme.muted, value);
|
||||
|
||||
Reference in New Issue
Block a user