Merge pull request #1221 from WorldofBay/patch-1
add nil check to fileconfig.hasFileSetting (gmake)
This commit is contained in:
commit
e05e66a4fc
@ -186,6 +186,9 @@
|
||||
--
|
||||
|
||||
function fileconfig.hasFileSettings(fcfg)
|
||||
if not fcfg then
|
||||
return false
|
||||
end
|
||||
for key, field in pairs(p.fields) do
|
||||
if field.scopes[1] == "config" then
|
||||
local value = fcfg[field.name]
|
||||
|
Loading…
Reference in New Issue
Block a user