Update path.lua

This commit is contained in:
VorTechnix 2024-10-25 16:58:36 -07:00
parent 82d8fd8c31
commit e6712d9bf6
No known key found for this signature in database
GPG Key ID: 091E91A69545D5BA

@ -38,9 +38,9 @@ end
-- @example Basic usage
-- local path = file_path("C:\\Users", "me", "/Documents/code.lua")
path.join = function( ... )
local pathlets = { ... }
local ok, err = check( ... )
if not ok then return false, err end
local pathlets = { ... }
return path.norm(table.concat(pathlets, path.sep))
end