mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 13:42:59 +00:00 
			
		
		
		
	| @@ -7,6 +7,11 @@ if tArgs[1] ~= nil then | |||||||
|     sDir = shell.resolve( tArgs[1] ) |     sDir = shell.resolve( tArgs[1] ) | ||||||
| end | end | ||||||
|  |  | ||||||
|  | if not fs.isDir( sDir ) then | ||||||
|  |     printError( "Not a directory" ) | ||||||
|  |     return | ||||||
|  | end | ||||||
|  |  | ||||||
| -- Sort into dirs/files, and calculate column count | -- Sort into dirs/files, and calculate column count | ||||||
| local tAll = fs.list( sDir ) | local tAll = fs.list( sDir ) | ||||||
| local tFiles = {} | local tFiles = {} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Ratcliffe
					Daniel Ratcliffe