From e6712d9bf6db259090d6c9b928962bcc0ca63eb0 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Fri, 25 Oct 2024 16:58:36 -0700 Subject: [PATCH] Update path.lua --- worldeditadditions_core/utils/path.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions_core/utils/path.lua b/worldeditadditions_core/utils/path.lua index 21f1b76..34fe3e9 100644 --- a/worldeditadditions_core/utils/path.lua +++ b/worldeditadditions_core/utils/path.lua @@ -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