summaryrefslogtreecommitdiff
path: root/http/testdata
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-10-06 01:02:34 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-10-05 12:02:34 -0400
commit96fe2d10a4da0521b7cd72d90fd42121f9311978 (patch)
treecb4d5ecafa55a3a522cf0ad9d742fb6a1e1f2283 /http/testdata
parent2f90225c89926932a34eb40758e2af0d1742e1f8 (diff)
Update eslint and @typescript-eslint (denoland/deno_std#621)
Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e
Diffstat (limited to 'http/testdata')
-rw-r--r--http/testdata/simple_server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/testdata/simple_server.ts b/http/testdata/simple_server.ts
index 4f8b0e801..67b957ad5 100644
--- a/http/testdata/simple_server.ts
+++ b/http/testdata/simple_server.ts
@@ -5,7 +5,7 @@ import { serve } from "../server.ts";
window.onload = async function main() {
const addr = "0.0.0.0:4502";
console.log(`Simple server listening on ${addr}`);
- for await (let req of serve(addr)) {
+ for await (const req of serve(addr)) {
req.respond({});
}
}