Skip to content

Commit 41c3914

Browse files
committed
fix rust_toolchain
1 parent 6895be6 commit 41c3914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ main() {
6363
echo 'unused_comparisons = "deny"' >> $td/Cargo.toml
6464
echo 'unused_parens = "deny"' >> $td/Cargo.toml
6565
echo 'while_true = "deny"' >> $td/Cargo.toml
66-
if [[ "$RUST_TOOLCHAIN" == *"nightly"* ]]; then
66+
if [[ "${RUST_TOOLCHAIN:-}" == *"nightly"* ]]; then
6767
echo 'private_bounds = "deny"' >> $td/Cargo.toml
6868
echo 'private_interfaces = "deny"' >> $td/Cargo.toml
6969
fi

0 commit comments

Comments
 (0)