mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Early exit if there is any errors
This commit is contained in:
parent
02dcd629ae
commit
f4ea5251cb
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Set up the appropriate rustc toolchain
|
# Set up the appropriate rustc toolchain
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
cd "$(dirname "$0")" || exit
|
cd "$(dirname "$0")" || exit
|
||||||
|
|
||||||
if ! command -v rustup-toolchain-install-master > /dev/null; then
|
if ! command -v rustup-toolchain-install-master > /dev/null; then
|
||||||
|
|
Loading…
Reference in a new issue