Skip to content

Commit

Permalink
fix bug where update_toml would not remove default-features if `w…
Browse files Browse the repository at this point in the history
…orkspace` was set
  • Loading branch information
Muscraft committed May 20, 2022
1 parent 9ab1cf9 commit ffc1053
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/ops/cargo_add/dependency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ impl Dependency {
"tag",
"rev",
"package",
"default-features",
] {
table.remove(key);
}
Expand Down

0 comments on commit ffc1053

Please sign in to comment.