From de0d148d933520e7ee519576c83e4ca282ee9021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 5 Mar 2023 08:19:34 -0400 Subject: 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. --- runtime/js/90_deno_ns.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'runtime/js/90_deno_ns.js') 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 = { -- cgit v1.2.3