From 8708d535a4bc4fff225b95e9b1f3768413f519b6 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 15 Jun 2023 10:24:50 -0600 Subject: [PATCH] v1.14: ci: discard misleading `cargo uninstall` errors in bk post-checkout hook (backport of #32139) (#32140) ci: discard misleading `cargo uninstall` errors in bk post-checkout hook (#32139) (cherry picked from commit 26be1a3a0c0748df1b89c9ec7f341be469e6ffe8) Co-authored-by: Trent Nelson --- .buildkite/hooks/post-checkout | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/hooks/post-checkout b/.buildkite/hooks/post-checkout index 1a680832ce..fefa407582 100644 --- a/.buildkite/hooks/post-checkout +++ b/.buildkite/hooks/post-checkout @@ -37,6 +37,6 @@ source ci/env.sh # HACK: These are in our docker images, need to be removed from CARGO_HOME # because we try to cache downloads across builds with CARGO_HOME # cargo lacks a facility for "system" tooling, always tries CARGO_HOME first -cargo uninstall cargo-audit || true -cargo uninstall svgbob_cli || true -cargo uninstall mdbook || true +cargo uninstall cargo-audit &>/dev/null || true +cargo uninstall svgbob_cli &>/dev/null || true +cargo uninstall mdbook &>/dev/null || true