develop
Myk Taylor 2023-08-04 10:25:49 -07:00
parent 4c89af7c20
commit d93bf65115
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -379,7 +379,7 @@ local function load_tests(file, tests)
dfhack.printerr('Skipping tests for unspecified target in ' .. file)
return true -- TODO: change to false once existing tests have targets specified
end
local targets = type(env.config.target) == table and env.config.target or {env.config.target}
local targets = type(env.config.target) == 'table' and env.config.target or {env.config.target}
for _,target in ipairs(targets) do
if target == 'core' then goto continue end
if type(target) ~= 'string' or not helpdb.is_entry(target) or