From 83642976bf267c81f36742793a5a4a9250f54591 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 25 Jan 2023 12:28:08 -0500 Subject: fix: remove leftover Deno.spawn references (#17524) --- runtime/ops/spawn.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/ops') 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 { - super::check_unstable(state, "Deno.spawn"); + super::check_unstable(state, "Deno.Command"); state .borrow_mut::() .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)] -- cgit v1.2.3