summaryrefslogtreecommitdiff
path: root/runtime/js/90_deno_ns.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-05 08:19:34 -0400
committerGitHub <noreply@github.com>2023-03-05 12:19:34 +0000
commitde0d148d933520e7ee519576c83e4ca282ee9021 (patch)
treed54f8fd691691ef5df08b61d3c558273f08bcab8 /runtime/js/90_deno_ns.js
parentd4807f458e852e6a8385a852e7caf9dd4a5b54f7 (diff)
refactor(runtime): merge "spawn" into "process" (#18022)
This commit merges "runtime/js/40_spawn.js" into "runtime/js/40_process.js", and "runtime::ops::spawn" into "runtime::ops::process". It makes little sense to have them separated given that we want to factor out these APIs into a separate extension crate.
Diffstat (limited to 'runtime/js/90_deno_ns.js')
-rw-r--r--runtime/js/90_deno_ns.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 39a1def90..f83695952 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -22,7 +22,6 @@ import * as fsEvents from "internal:runtime/40_fs_events.js";
import * as process from "internal:runtime/40_process.js";
import * as signals from "internal:runtime/40_signals.js";
import * as tty from "internal:runtime/40_tty.js";
-import * as spawn from "internal:runtime/40_spawn.js";
// TODO(bartlomieju): this is funky we have two `http` imports
import * as httpRuntime from "internal:runtime/40_http.js";
@@ -148,9 +147,9 @@ const denoNs = {
consoleSize: tty.consoleSize,
gid: os.gid,
uid: os.uid,
- Command: spawn.Command,
+ Command: process.Command,
// TODO(bartlomieju): why is this exported?
- ChildProcess: spawn.ChildProcess,
+ ChildProcess: process.ChildProcess,
};
const denoNsUnstable = {