Skip to content

Commit fb081c7

Browse files
committed
remove unnecessary clone
1 parent 1377a35 commit fb081c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/stellar-scaffold-cli/src/commands/build

crates/stellar-scaffold-cli/src/commands/build/clients.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl Args {
129129
return Ok(());
130130
};
131131

132-
self.clone().add_network_to_env(&current_env.network)?;
132+
self.add_network_to_env(&current_env.network)?;
133133
// Create the '.stellar' directory if it doesn't exist
134134
std::fs::create_dir_all(workspace_root.join(".stellar"))
135135
.map_err(stellar_cli::config::locator::Error::Io)?;

0 commit comments

Comments
 (0)