diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-08-07 09:43:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-07 07:43:05 +0000 |
commit | 04473c04ed59cc2a987af3405074591fbc1341a4 (patch) | |
tree | 50d56d1990328a6d32627e74ef73514525d78fde /cli/errors.rs | |
parent | 4fa8869f2487749a9f190cb3047f4f3e6d571f27 (diff) |
fix(compile): support workspace members importing other members (#24909)
Diffstat (limited to 'cli/errors.rs')
-rw-r--r-- | cli/errors.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/errors.rs b/cli/errors.rs index a8fde6e76..25b3fc332 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -29,7 +29,6 @@ fn get_diagnostic_class(_: &ParseDiagnostic) -> &'static str { fn get_module_graph_error_class(err: &ModuleGraphError) -> &'static str { use deno_graph::JsrLoadError; use deno_graph::NpmLoadError; - use deno_graph::WorkspaceLoadError; match err { ModuleGraphError::ResolutionError(err) @@ -71,10 +70,6 @@ fn get_module_graph_error_class(err: &ModuleGraphError) -> &'static str { | JsrLoadError::PackageVersionNotFound(_) | JsrLoadError::UnknownExport { .. } => "NotFound", }, - ModuleLoadError::Workspace(err) => match err { - WorkspaceLoadError::MemberInvalidExportPath { .. } => "TypeError", - WorkspaceLoadError::MissingMemberExports { .. } => "NotFound", - }, }, }, } |