diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-05-04 13:03:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 13:03:30 +0200 |
commit | a913b7a1ba67849464d0314eee9851f59c22556b (patch) | |
tree | 0e394ce772dacda117acf541339f13e62a997b19 /cli/tests/lock_write_fetch.ts | |
parent | bd3b9cc7d97700ee627a621f561eda4c20dbd5f3 (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 'cli/tests/lock_write_fetch.ts')
-rw-r--r-- | cli/tests/lock_write_fetch.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/tests/lock_write_fetch.ts b/cli/tests/lock_write_fetch.ts index 2286d7a0c..9e7190596 100644 --- a/cli/tests/lock_write_fetch.ts +++ b/cli/tests/lock_write_fetch.ts @@ -35,7 +35,12 @@ console.log(`fetch check code: ${fetchCheckProcCode}`); const runProc = Deno.run({ stdout: "null", stderr: "null", - cmd: [Deno.execPath(), "--lock=lock_write_fetch.json", "https_import.ts"], + cmd: [ + Deno.execPath(), + "run", + "--lock=lock_write_fetch.json", + "https_import.ts", + ], }); const runCode = (await runProc.status()).code; |