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). --- ext/node/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/node/lib.rs') diff --git a/ext/node/lib.rs b/ext/node/lib.rs index e86413346..13f9abc60 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -168,7 +168,7 @@ pub trait NpmResolver: std::fmt::Debug + MaybeSend + MaybeSync { &self, specifier: &str, referrer: &ModuleSpecifier, - ) -> Result; + ) -> Result; fn in_npm_package(&self, specifier: &ModuleSpecifier) -> bool; -- cgit v1.2.3