mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Minor code style tweak
This commit is contained in:
@@ -13,8 +13,8 @@ function obj:init()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function obj.file_exists(name)
|
function obj.file_exists(name)
|
||||||
local f=io.open(name,"r")
|
local f = io.open(name, "r")
|
||||||
if f~=nil then io.close(f) return true else return false end
|
if f ~= nil then io.close(f) return true else return false end
|
||||||
end
|
end
|
||||||
|
|
||||||
return obj
|
return obj
|
||||||
|
|||||||
Reference in New Issue
Block a user