Merge pull request #901 from AffectedArc07/linux-ordering

Maybe fixes linux pathing
This commit is contained in:
Jordan Brown
2020-03-24 11:04:39 -04:00
committed by GitHub
@@ -199,7 +199,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles
{
IsDirectory = true,
Path = ioManager.ConcatPath(configurationRelativePath, x),
}));
}).OrderBy(file => file.Path));
}
catch (IOException e)
{
@@ -213,7 +213,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles
{
IsDirectory = false,
Path = ioManager.ConcatPath(configurationRelativePath, x),
}));
}).OrderBy(file => file.Path));
}
using (await SemaphoreSlimContext.Lock(semaphore, cancellationToken).ConfigureAwait(false))