fix: rm error when config.config.editor is not present
This commit is contained in:
parent
bfaee95d02
commit
a10143d8d2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ local cosmic_modules = {
|
|||
|
||||
for _, mod in ipairs(cosmic_modules) do
|
||||
local ok, err = pcall(require, mod)
|
||||
if not ok and not mod:find('cosmic.core.user') then
|
||||
if not ok and not mod:find('cosmic.config') then
|
||||
error(('Error loading %s...\n\n%s'):format(mod, err))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue