diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-10-24 17:43:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 21:43:19 +0000 |
commit | 59a5fe530f92e4207cc30be24158c0a809e37e5b (patch) | |
tree | aeb392146e7f24c5a0a712e1fe3014f8c63ce36a /cli/errors.rs | |
parent | a7bd0cf7a890eff0133242d09e71b2783350fd23 (diff) |
refactor: upgrade to deno_ast 0.31 and deno_graph 0.59 (#20965)
Diffstat (limited to 'cli/errors.rs')
-rw-r--r-- | cli/errors.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/errors.rs b/cli/errors.rs index 8c240c1e6..0e3ff4f30 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -39,7 +39,10 @@ fn get_module_graph_error_class(err: &ModuleGraphError) -> &'static str { | ModuleError::UnknownPackage { .. } | ModuleError::UnknownPackageReq { .. } => "NotFound", }, - ModuleGraphError::ResolutionError(err) => get_resolution_error_class(err), + ModuleGraphError::ResolutionError(err) + | ModuleGraphError::TypesResolutionError(err) => { + get_resolution_error_class(err) + } } } |