forked from Blendman974/faceclaw
Introduce oxlint, and fix lint warnings
This commit is contained in:
1 parent
cb6dddd120
commit
06146c2b08
89 files changed
+818
-469
No files matched your search
@@ -288,7 +288,7 @@ function extractMessageText(item: any): string {
|
||||
.join("");
|
||||
}
|
||||
|
||||
function parseSseDataLine(line: string): any | null {
|
||||
function parseSseDataLine(line: string): any {
|
||||
if (!line.startsWith("data:")) return null;
|
||||
const payload = line.slice(5).trim();
|
||||
if (!payload || payload === "[DONE]") return null;
|
||||
|
||||
Reference in new issue
Block a user