summaryrefslogtreecommitdiff
path: root/cli/js/tests/os_test.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/js/tests/os_test.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/js/tests/os_test.ts')
-rw-r--r--cli/js/tests/os_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/tests/os_test.ts b/cli/js/tests/os_test.ts
index bc1766a2b..ef45d36fe 100644
--- a/cli/js/tests/os_test.ts
+++ b/cli/js/tests/os_test.ts
@@ -65,7 +65,7 @@ unitTest(
${JSON.stringify(Object.keys(expectedEnv))}.map(k => Deno.env(k))
)`;
const proc = Deno.run({
- args: [Deno.execPath(), "eval", src],
+ cmd: [Deno.execPath(), "eval", src],
env: inputEnv,
stdout: "piped"
});