Skip to content

Commit

Permalink
Remove profiles from non-root packages
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Jan 3, 2024
1 parent 7c2a35f commit be683ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/soroban-cli/src/commands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ fn edit_cargo_file(contract_path: &Path) -> Result<(), Error> {
doc["dev_dependencies"]["soroban-sdk"] =
toml_edit::Item::Value(Value::InlineTable(workspace_table));

doc.remove("profile");

std::fs::write(&cargo_path, doc.to_string())?;

Ok(())
Expand Down

0 comments on commit be683ea

Please sign in to comment.