diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2022-02-01 09:33:57 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-01 09:33:57 +1100 |
| commit | 7d356250e8bbe4e37e3651b328fda76178489588 (patch) | |
| tree | 2034053509e324fef72ead3e13e52ec66a06e59d /cli/errors.rs | |
| parent | 5490cfed2000a063ef0baec500ab7d539203067c (diff) | |
refactor: integrate deno_graph breaking changes (#13495)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/errors.rs')
| -rw-r--r-- | cli/errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/errors.rs b/cli/errors.rs index 1cef35399..1ae6559fe 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -48,8 +48,8 @@ pub(crate) fn get_module_graph_error_class( fn get_resolution_error_class(err: &ResolutionError) -> &'static str { match err { - ResolutionError::ResolverError(err, _, _) => { - get_error_class_name(err.as_ref()) + ResolutionError::ResolverError { error, .. } => { + get_error_class_name(error.as_ref()) } _ => "TypeError", } |
