mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
8e25991f63
commit
6d3f20b9f6
@ -51,6 +51,7 @@ class ApiWatcher {
|
|||||||
// convert to "text/event-stream" format
|
// convert to "text/event-stream" format
|
||||||
this.response.write(`data: ${JSON.stringify(evt)}\n\n`);
|
this.response.write(`data: ${JSON.stringify(evt)}\n\n`);
|
||||||
if (autoFlush) {
|
if (autoFlush) {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
this.response.flush()
|
this.response.flush()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user