diff options
author | Squibid <me@zacharyscheiman.com> | 2023-10-15 07:02:40 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-10-15 07:02:40 -0400 |
commit | 25765c4ace0898b8f30469023bb6670f779eff9e (patch) | |
tree | 938870108e99d6ae03b8bf48bf69bf1e1e231811 /eatit.lua | |
parent | b6dff07a12522921cf834518821b1917e674422a (diff) | |
download | eat-it-25765c4ace0898b8f30469023bb6670f779eff9e.tar.gz eat-it-25765c4ace0898b8f30469023bb6670f779eff9e.tar.bz2 eat-it-25765c4ace0898b8f30469023bb6670f779eff9e.zip |
fix indentation
Diffstat (limited to '')
-rw-r--r-- | eatit.lua | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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) |