From 3a91d3cc6a2e11ca77904c77e6b281e0c3aef4c0 Mon Sep 17 00:00:00 2001 From: Yihau Chen Date: Wed, 6 Sep 2023 01:20:42 +0800 Subject: [PATCH] ci: remove -f from cargo install rustfilt (#33143) --- 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 8da5e7c46fd56b..c63308124b0130 100644 --- a/sdk/cargo-build-sbf/tests/crates.rs +++ b/sdk/cargo-build-sbf/tests/crates.rs @@ -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);