From 839caf6fafdf9ca1cdec6cd9cef38296be41145f Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 9 Jul 2024 12:15:03 -0400 Subject: refactor: use concrete error types for node resolution (#24470) This will help clean up some of the code in the CLI because we'll be able to tell how the resolution failed (not part of this PR). --- cli/standalone/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/standalone') diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs index cbd14db4f..106b7b7e7 100644 --- a/cli/standalone/mod.rs +++ b/cli/standalone/mod.rs @@ -197,7 +197,7 @@ impl ModuleLoader for EmbeddedModuleLoader { .resolve_package_sub_path_from_deno_module( pkg_folder, sub_path.as_deref(), - &referrer, + Some(&referrer), NodeResolutionMode::Execution, )? .into_url(), -- cgit v1.2.3