summaryrefslogtreecommitdiff
path: root/runtime/ops/spawn.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-01-25 12:28:08 -0500
committerGitHub <noreply@github.com>2023-01-25 12:28:08 -0500
commit83642976bf267c81f36742793a5a4a9250f54591 (patch)
tree25901aaa7e95197129e1dc1c781d671ac7176cfc /runtime/ops/spawn.rs
parentb71d224d116b355571942fb957e635f3d57af6db (diff)
fix: remove leftover Deno.spawn references (#17524)
Diffstat (limited to 'runtime/ops/spawn.rs')
-rw-r--r--runtime/ops/spawn.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/spawn.rs b/runtime/ops/spawn.rs
index e5bf10cf0..e5454371e 100644
--- a/runtime/ops/spawn.rs
+++ b/runtime/ops/spawn.rs
@@ -193,7 +193,7 @@ fn create_command(
args: SpawnArgs,
api_name: &str,
) -> Result<std::process::Command, AnyError> {
- super::check_unstable(state, "Deno.spawn");
+ super::check_unstable(state, "Deno.Command");
state
.borrow_mut::<PermissionsContainer>()
.check_run(&args.cmd, api_name)?;
@@ -223,12 +223,12 @@ fn create_command(
#[cfg(unix)]
if let Some(gid) = args.gid {
- super::check_unstable(state, "Deno.spawn.gid");
+ super::check_unstable(state, "Deno.CommandOptions.gid");
command.gid(gid);
}
#[cfg(unix)]
if let Some(uid) = args.uid {
- super::check_unstable(state, "Deno.spawn.uid");
+ super::check_unstable(state, "Deno.CommandOptions.uid");
command.uid(uid);
}
#[cfg(unix)]