diff options
| author | Tomofumi Chiba <tomofumi.chiba@gmail.com> | 2020-01-15 23:05:22 +0900 |
|---|---|---|
| committer | Ry Dahl <ry@tinyclouds.org> | 2020-01-15 08:05:22 -0600 |
| commit | 8a352f7260da2df17c0267d581183b07735d3a2b (patch) | |
| tree | 7eba0c0d21ea1abb4f0ede876195170690360d41 /std/examples/curl.ts | |
| parent | 702ff4283f06c83e5b68affdf39e7000eb91054c (diff) | |
fix curl.ts (#3677)
Diffstat (limited to 'std/examples/curl.ts')
| -rw-r--r-- | std/examples/curl.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/curl.ts b/std/examples/curl.ts index 65a687262..39e917591 100644 --- a/std/examples/curl.ts +++ b/std/examples/curl.ts @@ -1,4 +1,4 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -const url_ = Deno.args[1]; +const url_ = Deno.args[0]; const res = await fetch(url_); await Deno.copy(Deno.stdout, res.body); |
