diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-12 21:55:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 15:55:05 -0400 |
commit | 46b1c653c0c433932908b7610f60b409af134c76 (patch) | |
tree | 00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /cli/ops/errors.rs | |
parent | a20504642d083172f297543f9788b128e9c2e0bc (diff) |
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'cli/ops/errors.rs')
-rw-r--r-- | cli/ops/errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs index 5dc4026f7..b3591b6f9 100644 --- a/cli/ops/errors.rs +++ b/cli/ops/errors.rs @@ -15,8 +15,8 @@ use std::collections::HashMap; use std::sync::Arc; pub fn init(rt: &mut deno_core::JsRuntime) { - super::reg_json_sync(rt, "op_apply_source_map", op_apply_source_map); - super::reg_json_sync(rt, "op_format_diagnostic", op_format_diagnostic); + super::reg_sync(rt, "op_apply_source_map", op_apply_source_map); + super::reg_sync(rt, "op_format_diagnostic", op_format_diagnostic); } #[derive(Deserialize)] |