From 2ba7de2d04fb7fb5847b86d9c549f1cbf9c68d5a Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 25 Feb 2019 21:35:50 -0800 Subject: Change `import { x } from "deno"` to `const { x } = Deno` (denoland/deno_std#218) Original: https://github.com/denoland/deno_std/commit/6063378a9284a48d42e37b4899f947c5c8bbf0b3 --- http/server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'http/server.ts') diff --git a/http/server.ts b/http/server.ts index 400171fc5..c6cd95f86 100644 --- a/http/server.ts +++ b/http/server.ts @@ -1,5 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { listen, Conn, toAsyncIterator, Reader, Writer, copy } from "deno"; +const { listen, toAsyncIterator, copy } = Deno; +import { Conn, Reader, Writer } from "deno"; import { BufReader, BufState, BufWriter } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; import { STATUS_TEXT } from "./http_status.ts"; -- cgit v1.2.3