diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-07-09 12:15:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 12:15:03 -0400 |
commit | 839caf6fafdf9ca1cdec6cd9cef38296be41145f (patch) | |
tree | 691dba21b45e9c5640275304308aa5d8a5d4a7ba /cli/standalone/mod.rs | |
parent | 07613a6bf26d9112d47fda9e502425395bd78105 (diff) |
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).
Diffstat (limited to 'cli/standalone/mod.rs')
-rw-r--r-- | cli/standalone/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |