mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 00:21:47 +03:00
fix clippy again
This commit is contained in:
parent
f80717afef
commit
7f6df6c41d
@ -125,7 +125,7 @@ impl Command for Add {
|
||||
// Dumb compatibility hack.
|
||||
// TODO: Remove once `leo add` functionality is discussed.
|
||||
if self.version.is_some() {
|
||||
path.push(format!("{}-{}@{}", author.clone(), package_name, self.version.unwrap()));
|
||||
path.push(format!("{}-{}@{}", author, package_name, self.version.unwrap()));
|
||||
} else {
|
||||
path.push(package_name.clone());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user