refactor: upgrade to deno_ast 0.31 and deno_graph 0.59 (#20965)

This commit is contained in:
David Sherret 2023-10-24 17:43:19 -04:00 committed by GitHub
parent a7bd0cf7a8
commit 59a5fe530f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 79 additions and 68 deletions

View file

@ -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)
}
}
}