mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-23 17:49:40 +02:00
Fix all 93 ESLint issues (3 errors, 90 warnings) (#666)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user