workspace: Return {} if unable to load file
This commit is contained in:
parent
7f96a4f6e3
commit
a4e00a79cb
|
@ -32,7 +32,7 @@ function load_workspace(dir)
|
|||
title = 'Error loading '..file,
|
||||
text = err,
|
||||
}
|
||||
return
|
||||
return {}
|
||||
end
|
||||
|
||||
local tbl = f()
|
||||
|
|
Loading…
Reference in New Issue