summaryrefslogtreecommitdiff
path: root/cli/tsc/diagnostics.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2022-11-28 12:33:51 +0100
committerGitHub <noreply@github.com>2022-11-28 12:33:51 +0100
commit1dd4843b62085a2aeb3134573adf9a7c47c154e2 (patch)
tree534a7b210655530ffce89b3c124690330867f8bc /cli/tsc/diagnostics.rs
parentfb04e87387e04053bf41a1512b4850adf62202c6 (diff)
feat(unstable): rework Deno.Command (#16812)
Refactors the `Deno.Command` class to not handle any state, but only being an intermediary to calling its methods, and as such any methods and properties besides `output`, `outputSync` & `spawn` have been removed. Interracting with a `spawn`ed subprocess now works by using the methods and properties on the returned class of the `spawn` method.
Diffstat (limited to 'cli/tsc/diagnostics.rs')
-rw-r--r--cli/tsc/diagnostics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tsc/diagnostics.rs b/cli/tsc/diagnostics.rs
index 05502dca4..4413398c2 100644
--- a/cli/tsc/diagnostics.rs
+++ b/cli/tsc/diagnostics.rs
@@ -31,6 +31,7 @@ const UNSTABLE_DENO_PROPS: &[&str] = &[
"umask",
"spawnChild",
"Child",
+ "ChildProcess",
"spawn",
"spawnSync",
"SpawnOptions",