summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index c7ca2ca72..d3e0d07db 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -87,7 +87,7 @@ pub trait NpmResolver: std::fmt::Debug + MaybeSend + MaybeSync {
/// Resolves the npm package folder path from the specified path.
fn resolve_package_folder_from_path(
&self,
- path: &Path,
+ specifier: &ModuleSpecifier,
) -> Result<Option<PathBuf>, AnyError>;
/// Resolves an npm package folder path from a Deno module.