summaryrefslogtreecommitdiff
path: root/cli/resolver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/resolver.rs')
-rw-r--r--cli/resolver.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/resolver.rs b/cli/resolver.rs
index 18804c025..b72fcd322 100644
--- a/cli/resolver.rs
+++ b/cli/resolver.rs
@@ -535,6 +535,9 @@ impl Resolver for CliGraphResolver {
MappedResolutionError::ImportMap(err) => {
ResolveError::Other(err.into())
}
+ MappedResolutionError::Workspace(err) => {
+ ResolveError::Other(err.into())
+ }
});
let result = match result {
Ok(resolution) => match resolution {
@@ -552,6 +555,9 @@ impl Resolver for CliGraphResolver {
Ok(specifier)
}
}
+ MappedResolution::WorkspaceJsrPackage { specifier, .. } => {
+ Ok(specifier)
+ }
MappedResolution::WorkspaceNpmPackage {
target_pkg_json: pkg_json,
sub_path,