Skip to content

Commit 3990d76

Browse files
committed
1 parent 1c107fe commit 3990d76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UpdateCheck.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ local ops = { }
305305
local opsRuntime = { }
306306
for _, data in pairs(updateFiles) do
307307
-- Ensure that the destination path of this file exists
308-
local dirStr = ""
308+
local dirStr = data.fullPath:sub(1,1) == "/" and "/" or ""
309309
for dir in data.fullPath:gmatch("([^/]+/)") do
310310
dirStr = dirStr .. dir
311311
MakeDir(dirStr)

0 commit comments

Comments
 (0)