mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 22:08:26 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -12,7 +12,9 @@ const RAW_STREAM_PATH =
|
||||
let rawStreamReady = false;
|
||||
|
||||
export function appendRawStream(payload: Record<string, unknown>) {
|
||||
if (!RAW_STREAM_ENABLED) return;
|
||||
if (!RAW_STREAM_ENABLED) {
|
||||
return;
|
||||
}
|
||||
if (!rawStreamReady) {
|
||||
rawStreamReady = true;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user