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