diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-09-26 16:42:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 16:42:39 -0400 |
commit | dcb00bb9b8bf39f0caa6bb87b6b11e1344803bb9 (patch) | |
tree | 31d25fc7ce35b8b2f70f679bd31022feea4c114c /ext/node/lib.rs | |
parent | 50a3209fff38d1decd1642d1175aec78b897d08b (diff) |
chore: slight cleanup in npm resolvers (#20692)
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 2 |
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. |