fix indentation
This commit is contained in:
16
eatit.lua
16
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)
|
||||
|
Reference in New Issue
Block a user