guan404ming commented on code in PR #58314:
URL: https://github.com/apache/airflow/pull/58314#discussion_r2527881214
##########
airflow-core/src/airflow/ui/src/utils/logs.ts:
##########
@@ -70,5 +72,10 @@ export const parseStreamingLogContent = (
}
}
- return data.content;
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
+ if (typeof data === "object" && data !== null) {
Review Comment:
```suggestion
if (typeof data === "object") {
```
I think we could remove the check and the eslint-disable-next-line above.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]