mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-13 11:40:29 +00:00
Fix io.lines()
This commit is contained in:
parent
19e4c03d3a
commit
999351e667
@ -54,7 +54,7 @@ function input( _arg )
|
|||||||
end
|
end
|
||||||
|
|
||||||
function lines( _sFileName )
|
function lines( _sFileName )
|
||||||
if _G.type( _sFileNamel ) ~= "string" then
|
if _G.type( _sFileName ) ~= "string" then
|
||||||
error( "bad argument #1 (expected string, got " .. _G.type( _sFileName ) .. ")", 2 )
|
error( "bad argument #1 (expected string, got " .. _G.type( _sFileName ) .. ")", 2 )
|
||||||
end
|
end
|
||||||
if _sFileName then
|
if _sFileName then
|
||||||
|
Loading…
Reference in New Issue
Block a user