summaryrefslogtreecommitdiff
path: root/ext/node/errors.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-12-14 16:09:05 +0100
committerGitHub <noreply@github.com>2023-12-14 15:09:05 +0000
commitac04787c30b67ba9c7fb800eae8361ba419e7f4e (patch)
tree0260d7b5ac0c94c1ec1220813c16ef9318be102e /ext/node/errors.rs
parent19d52b9a55a6d5a67f27cbcc6cbe9c6c15865d63 (diff)
fix(node): support resolving a package.json import to a builtin node module (#21576)
Closes https://github.com/denoland/deno/issues/21501
Diffstat (limited to 'ext/node/errors.rs')
-rw-r--r--ext/node/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/errors.rs b/ext/node/errors.rs
index f34707c66..27c4024bc 100644
--- a/ext/node/errors.rs
+++ b/ext/node/errors.rs
@@ -54,7 +54,7 @@ pub fn err_module_not_found(path: &str, base: &str, typ: &str) -> AnyError {
pub fn err_invalid_package_target(
pkg_path: &str,
key: &str,
- target: String,
+ target: &str,
is_import: bool,
maybe_referrer: Option<String>,
) -> AnyError {