diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-06-25 21:42:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 01:42:18 +0000 |
commit | eb283c43f5601df54b7086578daef9793a36a56f (patch) | |
tree | 8fcb8eb46a373f1d24e0e9b10420b2c5961239ef /cli/graph_util.rs | |
parent | 09cc473f3b3807d79a75eda3a744e4d9d7e34f3f (diff) |
refactor: bump deno_graph to 0.79 (#24337)
No fixes in this to my knowledge. Just an upgrade. The functionality
here will be used in a different PR.
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r-- | cli/graph_util.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs index 67c179293..14f0aaace 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -843,7 +843,7 @@ fn get_resolution_error_bare_specifier( error: &ResolutionError, ) -> Option<&str> { if let ResolutionError::InvalidSpecifier { - error: SpecifierError::ImportPrefixMissing(specifier, _), + error: SpecifierError::ImportPrefixMissing { specifier, .. }, .. } = error { @@ -1065,7 +1065,10 @@ mod test { start: Position::zeroed(), end: Position::zeroed(), }, - error: SpecifierError::ImportPrefixMissing(input.to_string(), None), + error: SpecifierError::ImportPrefixMissing { + specifier: input.to_string(), + referrer: None, + }, }; assert_eq!(get_resolution_error_bare_node_specifier(&err), output,); } |