mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 10:01:24 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -52,7 +52,9 @@ export class TuiStreamAssembler {
|
||||
const previousDisplayText = state.displayText;
|
||||
this.updateRunState(state, message, showThinking);
|
||||
|
||||
if (!state.displayText || state.displayText === previousDisplayText) return null;
|
||||
if (!state.displayText || state.displayText === previousDisplayText) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return state.displayText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user