diff options
Diffstat (limited to 'std/examples/curl.ts')
-rw-r--r-- | std/examples/curl.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/examples/curl.ts b/std/examples/curl.ts index e020016f8..b62e58b27 100644 --- a/std/examples/curl.ts +++ b/std/examples/curl.ts @@ -1,4 +1,4 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -const url = Deno.args[1]; -const res = await fetch(url); +const url_ = Deno.args[1]; +const res = await fetch(url_); await Deno.copy(Deno.stdout, res.body); |