Borrar comentario
This commit is contained in:
parent
de600d1ecc
commit
e2b048151b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ end
|
||||||
local function read_file(path)
|
local function read_file(path)
|
||||||
local file = io.open(path, "r")
|
local file = io.open(path, "r")
|
||||||
if not file then return nil end
|
if not file then return nil end
|
||||||
local content = file:read "*a" -- *a or *all reads the whole file
|
local content = file:read "*a"
|
||||||
file:close()
|
file:close()
|
||||||
return content
|
return content
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue