From 96fe2d10a4da0521b7cd72d90fd42121f9311978 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 6 Oct 2019 01:02:34 +0900 Subject: Update eslint and @typescript-eslint (denoland/deno_std#621) Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e --- http/testdata/simple_server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http/testdata') 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({}); } } -- cgit v1.2.3