diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2020-06-12 09:19:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-12 09:19:29 -0400 |
| commit | d0970daacda0b6f6c2077c2f81948536b574bbe9 (patch) | |
| tree | f116548be832ae6786449dd6f1257865efe38026 /std/http/file_server.ts | |
| parent | ca1c2ee82207f2ead857ab4aeca48edff16827ae (diff) | |
make std deno-lint clean (#6240)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'std/http/file_server.ts')
| -rwxr-xr-x | std/http/file_server.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/std/http/file_server.ts b/std/http/file_server.ts index 66babfd57..d9ed56236 100755 --- a/std/http/file_server.ts +++ b/std/http/file_server.ts @@ -135,7 +135,9 @@ async function serveDir( let fileInfo = null; try { fileInfo = await stat(filePath); - } catch (e) {} + } catch (e) { + // Pass + } listEntry.push({ mode: modeToString(entry.isDirectory, fileInfo?.mode ?? null), size: entry.isFile ? fileLenToString(fileInfo?.size ?? 0) : "", |
