fix: env should be table
This commit is contained in:
1 parent
2ef9ffb97d
commit
3a1978af0f
2 files changed
+14
-1
No files matched your search
@@ -41,7 +41,13 @@ M.envs = {}
|
||||
M.windowrules = {}
|
||||
|
||||
local function collect_modules_prop(module, prop)
|
||||
if module[prop] then
|
||||
if not module[prop] then
|
||||
return
|
||||
end
|
||||
|
||||
if prop == "envs" then
|
||||
M[prop] = utils.tbl_extend(M[prop], module[prop])
|
||||
else
|
||||
M[prop] = utils.list_extend(M[prop], module[prop])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user