ci: shellcheck nits

This commit is contained in:
Alexander Courtis
2023-11-25 17:14:55 +11:00
parent 8d9b108f6a
commit eb856a50ca
2 changed files with 4 additions and 3 deletions

View File

@@ -21,11 +21,12 @@ if [ ! -d "${DIR_LLS}" ]; then
fi
# execute from within the lua-language-server directory as it expects specific file locations
cd "${DIR_LLS}"
cd "${DIR_LLS}" || exit
OUT=$("${DIR_LLS}/bin/lua-language-server" --checklevel=Information --check "${DIR_SRC}" --logpath="${DIR_OUT}" --loglevel=error)
RC=$?
echo "${OUT}" >&2
RC=$?
if [ $RC -ne 0 ]; then
echo "failed with RC=$RC"
exit $RC