workspace: Return {} if unable to load file

This commit is contained in:
James Reed 2020-05-13 09:28:11 -06:00
parent 7f96a4f6e3
commit a4e00a79cb
No known key found for this signature in database
GPG Key ID: 0BE2BD33C5E8125E
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function load_workspace(dir)
title = 'Error loading '..file,
text = err,
}
return
return {}
end
local tbl = f()