Skip to content

Commit

Permalink
v1.16: ci: remove -f from cargo install rustfilt (backport of #33143) (
Browse files Browse the repository at this point in the history
…#33148)

ci: remove -f from cargo install rustfilt (#33143)

(cherry picked from commit 3a91d3c)

Co-authored-by: Yihau Chen <[email protected]>
  • Loading branch information
mergify[bot] and yihau authored Sep 5, 2023
1 parent fb29e1c commit 6b8f836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/cargo-build-sbf/tests/crates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn test_build() {
fn test_dump() {
// This test requires rustfilt.
assert_cmd::Command::new("cargo")
.args(["install", "-f", "rustfilt"])
.args(["install", "rustfilt"])
.assert()
.success();
run_cargo_build("noop", &["--dump"], false);
Expand Down

0 comments on commit 6b8f836

Please sign in to comment.