ci: add lsp to diagnostics

This commit is contained in:
Alexander Courtis
2023-12-30 15:07:27 +11:00
parent 15328856a0
commit 4d836e8ca0
4 changed files with 8 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ rm -rf "${DIR_OUT}"
mkdir "${DIR_OUT}"
# execute inside lua to prevent luals itself from being checked
OUT=$(lua-language-server --check "${DIR_SRC}" --configpath="${PWD}/.luarc.json" --checklevel=Information --logpath="${DIR_OUT}" --loglevel=error)
OUT=$(lua-language-server --check="${DIR_SRC}" --configpath="${PWD}/.luarc.json" --checklevel=Information --logpath="${DIR_OUT}" --loglevel=error)
RC=$?
echo "${OUT}" >&2