Skip to content

Commit

Permalink
[ci] Add check_format parameter to LLS argument to restore json output
Browse files Browse the repository at this point in the history
  • Loading branch information
claywar committed Feb 6, 2025
1 parent 4c5b8f8 commit e497cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci/lua_lang_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def generate_spec_file(file):
scripts_path = os.path.abspath(scripts_path)
modules_path = os.path.abspath(modules_path)

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

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

0 comments on commit e497cd0

Please sign in to comment.