From b85abeb28820c82a48d9e1da2d61c13e0b23f45e Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 02:34:59 +0000 Subject: [PATCH] v1.14: ci: remove -f from cargo install rustfilt (backport of #33143) (#33147) * ci: remove -f from cargo install rustfilt (#33143) (cherry picked from commit 3a91d3cc6a2e11ca77904c77e6b281e0c3aef4c0) # Conflicts: # sdk/cargo-build-sbf/tests/crates.rs * fix conflict * fix conflict --------- Co-authored-by: Yihau Chen Co-authored-by: yihau --- sdk/cargo-build-sbf/tests/crates.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cargo-build-sbf/tests/crates.rs b/sdk/cargo-build-sbf/tests/crates.rs index 6fb6ad625a8a27..618d6c06f914d8 100644 --- a/sdk/cargo-build-sbf/tests/crates.rs +++ b/sdk/cargo-build-sbf/tests/crates.rs @@ -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());