summaryrefslogtreecommitdiff
path: root/std/http/file_server.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-01-17 00:32:59 +0100
committerGitHub <noreply@github.com>2021-01-17 00:32:59 +0100
commitb26dcbc69d56b6ac5780520dad47f10460127d3e (patch)
tree1f0c45b2c39eff83a9fede7a9e6e268a5e04194b /std/http/file_server.ts
parentfc45a19801fe32eaf3a82ab8333f433fcfd7ca4e (diff)
chore: Enforce ban-untagged-todo lint rule (#9135)
Diffstat (limited to 'std/http/file_server.ts')
-rw-r--r--std/http/file_server.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/http/file_server.ts b/std/http/file_server.ts
index 5b8811c08..8fd2e7484 100644
--- a/std/http/file_server.ts
+++ b/std/http/file_server.ts
@@ -2,8 +2,8 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This program serves files in the current directory over HTTP.
-// TODO Stream responses instead of reading them into memory.
-// TODO Add tests like these:
+// TODO(bartlomieju): Stream responses instead of reading them into memory.
+// TODO(bartlomieju): Add tests like these:
// https://github.com/indexzero/http-server/blob/master/test/http-server-test.js
import { extname, posix } from "../path/mod.ts";
@@ -141,7 +141,7 @@ export async function serveFile(
};
}
-// TODO: simplify this after deno.stat and deno.readDir are fixed
+// TODO(bartlomieju): simplify this after deno.stat and deno.readDir are fixed
async function serveDir(
req: ServerRequest,
dirPath: string,