Skip to content

Commit 6859960

Browse files
authored
Merge pull request #6977 from LandSandBoat/ci/set-lls-format
[ci] Add check_format parameter to LLS argument to restore json output
2 parents 1cb9d5f + e497cd0 commit 6859960

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/ci/lua_lang_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def generate_spec_file(file):
159159
scripts_path = os.path.abspath(scripts_path)
160160
modules_path = os.path.abspath(modules_path)
161161

162-
check_command = f'{lua_server_path} --loglevel="trace" --logpath="{log_path}" --configpath="{config_path}" --checklevel="Information" --check="{scripts_path}"'
162+
check_command = f'{lua_server_path} --loglevel="trace" --logpath="{log_path}" --check_format="json" --configpath="{config_path}" --checklevel="Information" --check="{scripts_path}"'
163163

164164
if args.force and os.path.exists("./check.json"):
165165
print("Force flag is enabled, removing existing check.json.")

0 commit comments

Comments
 (0)