mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Satisfy testlint.
For that, make luatest ignore the preload.lua files.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
set(IGNORE_FILES "${TEST_DIR}/*/preload.lua")
|
||||
|
||||
execute_process(
|
||||
COMMAND ${LUACHECK_PRG} -q ${TEST_DIR}
|
||||
COMMAND ${LUACHECK_PRG} -q ${TEST_DIR} --exclude-files ${IGNORE_FILES}
|
||||
WORKING_DIRECTORY ${TEST_DIR}
|
||||
ERROR_VARIABLE err
|
||||
RESULT_VARIABLE res
|
||||
|
||||
Reference in New Issue
Block a user