summaryrefslogtreecommitdiff
path: root/runtime/ops/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r--runtime/ops/process.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs
index 4b49e21f3..bf074db2c 100644
--- a/runtime/ops/process.rs
+++ b/runtime/ops/process.rs
@@ -26,9 +26,9 @@ use tokio::process::Command;
use std::os::unix::process::ExitStatusExt;
pub fn init(rt: &mut deno_core::JsRuntime) {
- super::reg_json_sync(rt, "op_run", op_run);
- super::reg_json_async(rt, "op_run_status", op_run_status);
- super::reg_json_sync(rt, "op_kill", op_kill);
+ super::reg_sync(rt, "op_run", op_run);
+ super::reg_async(rt, "op_run_status", op_run_status);
+ super::reg_sync(rt, "op_kill", op_kill);
}
fn clone_file(