about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--app.lua4
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