yet another bugfix X-(
This time it really does work with pensieve.love
This commit is contained in:
parent
0016d668bc
commit
790b7f18db
4
app.lua
4
app.lua
|
@ -468,11 +468,11 @@ function App.disable_tests()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
App.write_file =
|
App.write_file =
|
||||||
function(filename, contents)
|
function(path, contents)
|
||||||
if not is_absolute_path(path) then
|
if not is_absolute_path(path) then
|
||||||
return --[[status]] false, 'Please use an unambiguous absolute path.'
|
return --[[status]] false, 'Please use an unambiguous absolute path.'
|
||||||
end
|
end
|
||||||
local f, err = App.open_for_writing(filename)
|
local f, err = App.open_for_writing(path)
|
||||||
if err then
|
if err then
|
||||||
return --[[status]] false, err
|
return --[[status]] false, err
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user