mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 04:47:39 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -18,7 +18,9 @@ export function stripTelegramInternalPrefixes(to: string): string {
|
||||
}
|
||||
return trimmed;
|
||||
})();
|
||||
if (next === trimmed) return trimmed;
|
||||
if (next === trimmed) {
|
||||
return trimmed;
|
||||
}
|
||||
trimmed = next;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user