Fix path correction in OpenDreamInstaller

This commit is contained in:
Jordan Dominion
2023-10-21 05:51:34 -04:00
parent cf0194b543
commit 08e16c1cab
@@ -186,7 +186,7 @@ namespace Tgstation.Server.Host.Components.Engine
dirPath,
IOManager.ConcatPath(
sourcePath,
IOManager.GetFileName(sourcePath)),
IOManager.GetFileName(dirPath)),
cancellationToken));
var filesMoveTask = filesTask
.Result
@@ -195,7 +195,7 @@ namespace Tgstation.Server.Host.Components.Engine
filePath,
IOManager.ConcatPath(
sourcePath,
IOManager.GetFileName(sourcePath)),
IOManager.GetFileName(filePath)),
cancellationToken));
await Task.WhenAll(dirsMoveTasks.Concat(filesMoveTask));