From 8a352f7260da2df17c0267d581183b07735d3a2b Mon Sep 17 00:00:00 2001 From: Tomofumi Chiba Date: Wed, 15 Jan 2020 23:05:22 +0900 Subject: fix curl.ts (#3677) --- std/examples/curl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/examples/curl.ts') 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); -- cgit v1.2.3