From 1fff6f55c3ba98a10018c6d374795e612061e9b6 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 12 Jun 2020 20:23:38 +0100 Subject: refactor: Don't destructure the Deno namespace (#6268) --- std/examples/flags.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'std/examples/flags.ts') diff --git a/std/examples/flags.ts b/std/examples/flags.ts index 4625b8c96..d7f0fc650 100644 --- a/std/examples/flags.ts +++ b/std/examples/flags.ts @@ -1,7 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -const { args } = Deno; import { parse } from "../flags/mod.ts"; if (import.meta.main) { - console.dir(parse(args)); + console.dir(parse(Deno.args)); } -- cgit v1.2.3