summaryrefslogtreecommitdiff
path: root/cli/tests/lock_write_fetch.ts
diff options
context:
space:
mode:
authorAkshat Agarwal <humancalico@disroot.org>2020-03-22 03:14:18 +0530
committerGitHub <noreply@github.com>2020-03-21 17:44:18 -0400
commitb8a5c29bf8e04bb6210080a05ce34e9a8d1d1496 (patch)
tree4e5788c62165789b12c77534923db9dd2d2c57a3 /cli/tests/lock_write_fetch.ts
parentb191c919f3bde46fe7e0112a33f060715b50b9a4 (diff)
BREAKING CHANGE Rename Deno.run's args to cmd (#4444)
This is to avoid confusion with Deno.args which does not include the executable to be run.
Diffstat (limited to 'cli/tests/lock_write_fetch.ts')
-rw-r--r--cli/tests/lock_write_fetch.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/lock_write_fetch.ts b/cli/tests/lock_write_fetch.ts
index 7d597724d..206a2f864 100644
--- a/cli/tests/lock_write_fetch.ts
+++ b/cli/tests/lock_write_fetch.ts
@@ -5,7 +5,7 @@ try {
const fetchProc = Deno.run({
stdout: "null",
stderr: "null",
- args: [
+ cmd: [
Deno.execPath(),
"fetch",
"--reload",
@@ -21,7 +21,7 @@ console.log(`fetch code: ${fetchCode}`);
const fetchCheckProc = Deno.run({
stdout: "null",
stderr: "null",
- args: [
+ cmd: [
Deno.execPath(),
"fetch",
"--lock=lock_write_fetch.json",
@@ -35,7 +35,7 @@ console.log(`fetch check code: ${fetchCheckProcCode}`);
const runProc = Deno.run({
stdout: "null",
stderr: "null",
- args: [Deno.execPath(), "--lock=lock_write_fetch.json", "https_import.ts"]
+ cmd: [Deno.execPath(), "--lock=lock_write_fetch.json", "https_import.ts"]
});
const runCode = (await runProc.status()).code;