Skip to content

Commit 579d777

Browse files
authored
address pr comments from #1452 (#1454)
PR got auto-merged before I could address the suggestion: - #1452 (comment) cc @ggiraldez
1 parent c415a80 commit 579d777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/_common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ set -euo pipefail
3636
# $REPO_ROOT/crates/infra/cli/src/commands/setup/cargo/mod.rs
3737
#
3838

39-
if cargo --version | grep -zq "${RUST_STABLE_VERSION:?}"; then
39+
if (cargo --version | grep -zq "${RUST_STABLE_VERSION:?}") > /dev/null 2>&1; then
4040
# Already installed. Do nothing.
4141
true
4242
elif ! output=$(

0 commit comments

Comments
 (0)