From aa286fdecb15461ef8ddd4c372f5a13e01e1cb7b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 24 Apr 2023 19:44:35 -0400 Subject: refactor(ext/node): allow injecting `NodeFs` from CLI (#18829) This allows providing a `NodeFs` as part of the `WorkerOptions`. --- runtime/examples/hello_runtime.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/examples/hello_runtime.rs') diff --git a/runtime/examples/hello_runtime.rs b/runtime/examples/hello_runtime.rs index f44c774fb..f97c045b2 100644 --- a/runtime/examples/hello_runtime.rs +++ b/runtime/examples/hello_runtime.rs @@ -43,6 +43,7 @@ async fn main() -> Result<(), AnyError> { should_break_on_first_statement: false, should_wait_for_inspector_session: false, module_loader, + node_fs: None, npm_resolver: None, get_error_class_fn: Some(&get_error_class_name), cache_storage_dir: None, -- cgit v1.2.3