Skip to content

Commit 1a78d35

Browse files
committed
Try again.
1 parent 7a537bb commit 1a78d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildbot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export PATH=`pwd`/.cargo/bin/:$PATH
1212
rustup toolchain install nightly --allow-downgrade --profile minimal
1313
cargo check
1414

15-
if [ ! -f ${CARGO_HOME}/bin/cargo-fmt ]; then
15+
if [ `cargo fmt 2>&1 | grep "component.*not available"` -eq 0 ]; then
1616
rm -rf ${RUSTUP_HOME} ${CARGO_HOME}
1717
sh rustup.sh --default-host x86_64-unknown-linux-gnu --default-toolchain none -y --no-modify-path
1818
rustup install nightly

0 commit comments

Comments
 (0)