fix indentation
This commit is contained in:
16
eatit.lua
16
eatit.lua
@ -27,14 +27,14 @@ local function tablelength(T)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function fileexists(name)
|
local function fileexists(name)
|
||||||
local ok, err, code = os.rename(name, name)
|
local ok, err, code = os.rename(name, name)
|
||||||
if not ok then
|
if not ok then
|
||||||
if code == 13 then
|
if code == 13 then
|
||||||
-- Permission denied, but it exists
|
-- Permission denied, but it exists
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return ok, err
|
return ok, err
|
||||||
end
|
end
|
||||||
|
|
||||||
local function testforslash(str)
|
local function testforslash(str)
|
||||||
|
Reference in New Issue
Block a user