mirror of https://github.com/lcpz/lain.git
fixed typo in helpers.lua
This commit is contained in:
parent
89d557638d
commit
11656d7713
|
@ -61,7 +61,7 @@ end
|
|||
-- get first non empty line from a file,
|
||||
-- returns nil otherwise
|
||||
function helpers.first_nonempty_line(file)
|
||||
for k,v in pairs(lines_from(file)) do
|
||||
for k,v in pairs(helpers.lines_from(file)) do
|
||||
if #v then return v end
|
||||
end
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue