Fix scripts following shellcheck

This commit is contained in:
Yuki Okushi 2020-10-10 23:16:09 +09:00
parent 2f605023a4
commit 9f5c287944
2 changed files with 3 additions and 2 deletions

View File

@ -72,5 +72,5 @@ for TARGET in $TARGETS; do
done
# FIXME: Use upstream once it gets rustup.
cargo +${NIGHTLY_DATE} semverfork --api-guidelines --target="${TARGET}"
cargo semverfork --api-guidelines --target="${TARGET}"
done

View File

@ -11,7 +11,8 @@ if rustup component add rustfmt-preview ; then
fi
if shellcheck --version ; then
shellcheck -e SC2103 ci/*.sh
# GHA's shellcheck is too old (0.4.6) and cannot handle SC2153 correctly.
shellcheck -e SC2103 -e SC2153 ci/*.sh
else
echo "shellcheck not found"
exit 1