summaryrefslogtreecommitdiff
path: root/std/fs/expand_glob_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-04 13:03:30 +0200
committerGitHub <noreply@github.com>2020-05-04 13:03:30 +0200
commita913b7a1ba67849464d0314eee9851f59c22556b (patch)
tree0e394ce772dacda117acf541339f13e62a997b19 /std/fs/expand_glob_test.ts
parentbd3b9cc7d97700ee627a621f561eda4c20dbd5f3 (diff)
BREAKING: remove CLI 'deno script.ts' hack (#5026)
This PR removes the hack in CLI that allows to run scripts with shorthand: deno script.ts. Removing this functionality because it hacks around short-comings of clap our CLI parser. We agree that this shorthand syntax is desirable, but it needs to be rethinked and reimplemented. For 1.0 we should go with conservative approach that is correct.
Diffstat (limited to 'std/fs/expand_glob_test.ts')
-rw-r--r--std/fs/expand_glob_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/fs/expand_glob_test.ts b/std/fs/expand_glob_test.ts
index 697c8bf98..24885530b 100644
--- a/std/fs/expand_glob_test.ts
+++ b/std/fs/expand_glob_test.ts
@@ -115,7 +115,7 @@ Deno.test("expandGlobIncludeDirs", async function (): Promise<void> {
Deno.test("expandGlobPermError", async function (): Promise<void> {
const exampleUrl = new URL("testdata/expand_wildcard.js", import.meta.url);
const p = run({
- cmd: [execPath(), "--unstable", exampleUrl.toString()],
+ cmd: [execPath(), "run", "--unstable", exampleUrl.toString()],
stdin: "null",
stdout: "piped",
stderr: "piped",