Skip to content

Commit

Permalink
Update cmd/soroban-cli/src/commands/contract/deploy/wasm.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Leigh McCulloch <[email protected]>
  • Loading branch information
fnando and leighmcculloch authored Jun 6, 2024
1 parent a1664c5 commit f1dca79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/deploy/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Cmd {
}

fn alias(&self) -> String {
self.alias.as_ref().map(Clone::clone).unwrap_or_default()
self.alias.clone().unwrap_or_default()
}

fn alias_path(&self) -> Result<PathBuf, Error> {
Expand Down

0 comments on commit f1dca79

Please sign in to comment.