Fix all 93 ESLint issues (3 errors, 90 warnings) (#666)

This commit is contained in:
Thomas Durieux
2026-04-15 09:04:22 +02:00
committed by GitHub
parent 1d97c76e7e
commit f4209110c7
28 changed files with 77 additions and 69 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ async function webView(req: express.Request, res: express.Response) {
let info: IFile | null = null;
try {
info = await f.getFileInfo();
} catch (error) {}
} catch { /* ignored */ }
if (
req.headers.accept?.includes("text/html") &&
(filePath == "" || (info && info.size == null))