summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_tcp.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-20 15:14:37 -0400
committerGitHub <noreply@github.com>2024-08-20 15:14:37 -0400
commita7c002ae634b20a2f84c90417327a88c9ac2df99 (patch)
treec21a179412ee70f59eb0c38acfbe5d4998870224 /cli/bench/http/deno_tcp.ts
parent2f47b4d1fd8e37a5e45bc1b8f3623708e0f95e2e (diff)
chore: enable no-console dlint rule (#25113)
Diffstat (limited to 'cli/bench/http/deno_tcp.ts')
-rw-r--r--cli/bench/http/deno_tcp.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/bench/http/deno_tcp.ts b/cli/bench/http/deno_tcp.ts
index bac9ac497..b79591073 100644
--- a/cli/bench/http/deno_tcp.ts
+++ b/cli/bench/http/deno_tcp.ts
@@ -3,6 +3,7 @@
// TODO(bartlomieju): Replace this with a real HTTP server once
// https://github.com/denoland/deno/issues/726 is completed.
// Note: this is a keep-alive server.
+// deno-lint-ignore-file no-console
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
const listener = Deno.listen({ hostname, port: Number(port) });