aboutsummaryrefslogtreecommitdiffstats
path: root/eatit.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-10-15 07:02:40 -0400
committerSquibid <me@zacharyscheiman.com>2023-10-15 07:02:40 -0400
commit25765c4ace0898b8f30469023bb6670f779eff9e (patch)
tree938870108e99d6ae03b8bf48bf69bf1e1e231811 /eatit.lua
parentb6dff07a12522921cf834518821b1917e674422a (diff)
downloadeat-it-25765c4ace0898b8f30469023bb6670f779eff9e.tar.gz
eat-it-25765c4ace0898b8f30469023bb6670f779eff9e.tar.bz2
eat-it-25765c4ace0898b8f30469023bb6670f779eff9e.zip
fix indentation
Diffstat (limited to '')
-rw-r--r--eatit.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/eatit.lua b/eatit.lua
index 9d1805c..8bc1545 100644
--- a/eatit.lua
+++ b/eatit.lua
@@ -27,14 +27,14 @@ local function tablelength(T)
end
local function fileexists(name)
- local ok, err, code = os.rename(name, name)
- if not ok then
- if code == 13 then
- -- Permission denied, but it exists
- return true
- end
- end
- return ok, err
+ local ok, err, code = os.rename(name, name)
+ if not ok then
+ if code == 13 then
+ -- Permission denied, but it exists
+ return true
+ end
+ end
+ return ok, err
end
local function testforslash(str)