about summary refs log tree commit diff stats
path: root/src/file.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-11-26 18:06:52 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-11-26 18:06:52 -0800
commit618b49fbf3dbf2645e4c29458bb71ad3ccc28013 (patch)
tree62f4ad2c463b041c4326521707b56cf291143821 /src/file.lua
parent1316940f2583c6a6da1951de14074d2c9cabf9f5 (diff)
downloadteliva-main.tar.gz
use markdown syntax for images HEAD main
Now they render right on non-Github forges.
Diffstat (limited to 'src/file.lua')
-rw-r--r--src/file.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file.lua b/src/file.lua
index 372d49b..95ed266 100644
--- a/src/file.lua
+++ b/src/file.lua
@@ -94,6 +94,7 @@ function temporary_filename_in_same_volume(filename)
       -- file doesn't exist yet; create a placeholder and return it
       local handle = io.open(temporary_filename, 'w')
       if handle == nil then
+        -- HERE: if an app doesn't have permissions, attempts to write to disk eventually get here
         error("this is unexpected; I can't create temporary files..")
       end
       handle:close()