compression package wip + debugger bugfixes

This commit is contained in:
kepler155c@gmail.com
2020-05-31 23:51:04 -06:00
parent d203510527
commit fb5e69f703
10 changed files with 1011 additions and 7 deletions

View File

@@ -901,11 +901,7 @@ actions = {
if fs.isReadOnly(filename) then
actions.error("access denied")
else
local s, m = pcall(function()
if not Util.writeLines(filename, tLines) then
error("Failed to open " .. filename)
end
end)
local s, m = pcall(Util.writeFile, filename, table.concat(tLines, '\n'))
if s then
lastSave = undo.chain[#undo.chain]