1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-26 08:56:54 +00:00

Merge pull request #414 from Wilma456/listfix

Fix Bug in list.lua
This commit is contained in:
Daniel Ratcliffe 2017-09-10 00:04:08 +01:00 committed by GitHub
commit c7e5386e80

View File

@ -7,6 +7,11 @@ if tArgs[1] ~= nil then
sDir = shell.resolve( tArgs[1] )
end
if not fs.isDir( sDir ) then
printError( "Not a directory" )
return
end
-- Sort into dirs/files, and calculate column count
local tAll = fs.list( sDir )
local tFiles = {}