diff options
Diffstat (limited to 'bench_util/js_runtime.rs')
-rw-r--r-- | bench_util/js_runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench_util/js_runtime.rs b/bench_util/js_runtime.rs index 103b97430..376d30593 100644 --- a/bench_util/js_runtime.rs +++ b/bench_util/js_runtime.rs @@ -11,7 +11,7 @@ pub fn create_js_runtime(setup: impl FnOnce() -> Vec<Extension>) -> JsRuntime { JsRuntime::new(RuntimeOptions { extensions_with_js: setup(), module_loader: Some(std::rc::Rc::new( - deno_core::InternalModuleLoader::new(None), + deno_core::InternalModuleLoader::default(), )), ..Default::default() }) |