Skip to content

Commit

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

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

(cherry picked from commit 3a91d3c)

# Conflicts:
#	sdk/cargo-build-sbf/tests/crates.rs

* fix conflict

* fix conflict

---------

Co-authored-by: Yihau Chen <[email protected]>
Co-authored-by: yihau <[email protected]>
  • Loading branch information
3 people authored Sep 6, 2023
1 parent 4b117d6 commit b85abeb
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 @@ -65,7 +65,7 @@ fn test_build() {
fn test_dump() {
// This test requires rustfilt.
assert!(Command::new("cargo")
.args(["install", "-f", "rustfilt"])
.args(["install", "rustfilt"])
.status()
.expect("Unable to install rustfilt required for --dump option")
.success());
Expand Down

0 comments on commit b85abeb

Please sign in to comment.