mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-01-16 17:37:32 +01:00
Update path.lua
This commit is contained in:
parent
82d8fd8c31
commit
e6712d9bf6
@ -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 New Issue
Block a user