diff options
Diffstat (limited to 'runtime/ops/runtime.rs')
-rw-r--r-- | runtime/ops/runtime.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index 4f951383e..31f9d2732 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -19,11 +19,7 @@ pub fn init(main_module: ModuleSpecifier) -> Extension { } #[op] -fn op_main_module( - state: &mut OpState, - _: (), - _: (), -) -> Result<String, AnyError> { +fn op_main_module(state: &mut OpState) -> Result<String, AnyError> { let main = state.borrow::<ModuleSpecifier>().to_string(); let main_url = deno_core::resolve_url_or_path(&main)?; if main_url.scheme() == "file" { |