Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Feb 21, 2024
1 parent 82764a4 commit 4336688
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ fn copy_template_files(project_path: &Path) -> Result<(), Error> {
})?;

// We need to include the Cargo.toml file as Cargo.text in the template so that it will be included the package. This is making sure that the Cargo file is written as Cargo.toml in the new project. This is a workaround for this issue: https://github.com/rust-lang/cargo/issues/8597.
if item == "Cargo.text" {
if item == "Cargo.toml.removeextension" {
to = project_path.join("Cargo.toml");
}

Expand Down

0 comments on commit 4336688

Please sign in to comment.