mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
Update path.lua
This commit is contained in:
parent
82d8fd8c31
commit
e6712d9bf6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue