From 38d4c8103a46a341b9a8a002c3698b971b6a75f4 Mon Sep 17 00:00:00 2001 From: AffectedArc07 Date: Tue, 21 Jan 2020 17:24:43 +0000 Subject: [PATCH] Maybe fixes linux pathing --- .../Components/StaticFiles/Configuration.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs b/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs index 4211761fed..162741d8bc 100644 --- a/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs +++ b/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs @@ -191,7 +191,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles { IsDirectory = true, Path = ioManager.ConcatPath(configurationRelativePath, x), - })); + }).OrderBy(file => file.Path)); } catch (IOException e) { @@ -205,7 +205,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))