From 6547119eb04c78be7c323170a63c97740fff8993 Mon Sep 17 00:00:00 2001 From: yihau Date: Tue, 5 Sep 2023 23:46:39 +0800 Subject: [PATCH] ci: remove -f from cargo install rustfilt --- 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);