diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-09-09 09:27:56 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-09-09 09:27:56 -0700 |
commit | 790b7f18dbfb6c7dfcc72a872bc62e6075af6ae8 (patch) | |
tree | 57661932ef2d4b93b293c1586c83efc46676461d | |
parent | 0016d668bcbd5a88afaaa305cddeff7a4300f215 (diff) | |
download | lines.love-790b7f18dbfb6c7dfcc72a872bc62e6075af6ae8.tar.gz |
yet another bugfix X-(
This time it really does work with pensieve.love
-rw-r--r-- | app.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app.lua b/app.lua index d4a2a70..55b1b0d 100644 --- a/app.lua +++ b/app.lua @@ -468,11 +468,11 @@ function App.disable_tests() end end App.write_file = - function(filename, contents) + function(path, contents) if not is_absolute_path(path) then return --[[status]] false, 'Please use an unambiguous absolute path.' end - local f, err = App.open_for_writing(filename) + local f, err = App.open_for_writing(path) if err then return --[[status]] false, err end |