fix(install): early return if parser_info does not exist

This commit is contained in:
Sebastian Lyng Johansen 2025-02-17 17:18:33 +01:00 committed by Christian Clason
parent a9f34d5a76
commit 02a1a0537c
3 changed files with 41 additions and 39 deletions

View file

@ -91,6 +91,7 @@ local function get_parser_install_info(lang)
if not parser_config then
log.error('Parser not available for language "' .. lang .. '"')
return
end
return parser_config.install_info