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 --- format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'format.ts') diff --git a/format.ts b/format.ts index 4de5cfa87..fa538d53f 100755 --- a/format.ts +++ b/format.ts @@ -1,6 +1,6 @@ #!/usr/bin/env deno --allow-run --allow-write --allow-read // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { exit, args } from "deno"; +const { exit, args } = Deno; import { parse } from "./flags/mod.ts"; import { xrun, executableSuffix } from "./prettier/util.ts"; -- cgit v1.2.3