diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /tools/deno_tcp.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'tools/deno_tcp.ts')
-rw-r--r-- | tools/deno_tcp.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/deno_tcp.ts b/tools/deno_tcp.ts index 06907db90..898869768 100644 --- a/tools/deno_tcp.ts +++ b/tools/deno_tcp.ts @@ -6,7 +6,7 @@ const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); const listener = Deno.listen({ hostname, port: Number(port) }); const response = new TextEncoder().encode( - "HTTP/1.1 200 OK\r\nContent-Length: 12\r\n\r\nHello World\n" + "HTTP/1.1 200 OK\r\nContent-Length: 12\r\n\r\nHello World\n", ); async function handle(conn: Deno.Conn): Promise<void> { const buffer = new Uint8Array(1024); |