summaryrefslogtreecommitdiff
path: root/std/examples/gist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/gist.ts')
-rwxr-xr-xstd/examples/gist.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/gist.ts b/std/examples/gist.ts
index c9a9b024b..ead97c7e2 100755
--- a/std/examples/gist.ts
+++ b/std/examples/gist.ts
@@ -14,7 +14,7 @@ if (!token) {
Deno.exit(1);
}
-const parsedArgs = parse(Deno.args.slice(1));
+const parsedArgs = parse(Deno.args);
if (parsedArgs._.length === 0) {
console.error(