We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4e385 commit 98c0334Copy full SHA for 98c0334
graph/src/components/link_resolver/file.rs
@@ -76,8 +76,7 @@ impl FileLinkResolver {
76
// Create a path to the manifest based on the current resolver's
77
// base directory or default to using the deployment string as path
78
// If the deployment string is an alias, use the aliased path
79
- let manifest_path = if let Some(aliased) = self.aliases.get(&manifest_path_str.to_string())
80
- {
+ let manifest_path = if let Some(aliased) = self.aliases.get(manifest_path_str) {
81
aliased.clone()
82
} else {
83
match &resolver.base_dir {
0 commit comments