summaryrefslogtreecommitdiff
path: root/std/fs/testdata/empty_dir.ts
diff options
context:
space:
mode:
authorRy Dahl <ry@tinyclouds.org>2020-01-09 11:37:01 -0700
committerGitHub <noreply@github.com>2020-01-09 11:37:01 -0700
commitd492c5abe3c7c0716b9695c8a40d0256569d2338 (patch)
tree15d5d901d3dac3bedefd7258d29a177a2f6ae9a0 /std/fs/testdata/empty_dir.ts
parentc50cab90a05d271013f741768d70c1eda6ef9a10 (diff)
feat: Deno.args now does not include script (#3628)
Previously Deno.args was ["script.js", "arg1", "arg2"] Now it is just ["arg1", "arg2"] BREAKING CHANGE
Diffstat (limited to 'std/fs/testdata/empty_dir.ts')
-rw-r--r--std/fs/testdata/empty_dir.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/fs/testdata/empty_dir.ts b/std/fs/testdata/empty_dir.ts
index 6147679da..aa9cf60a1 100644
--- a/std/fs/testdata/empty_dir.ts
+++ b/std/fs/testdata/empty_dir.ts
@@ -1,6 +1,6 @@
import { emptyDir } from "../empty_dir.ts";
-emptyDir(Deno.args[1])
+emptyDir(Deno.args[0])
.then(() => {
Deno.stdout.write(new TextEncoder().encode("success"))
})