Fix an IDE message

This commit is contained in:
Jordan Dominion
2025-02-07 19:19:54 -05:00
parent 4e7b982b1a
commit 71bf2d2e0f
@@ -177,6 +177,10 @@ namespace Tgstation.Server.Host.Watchdog
var watchdogVersion = executingAssembly.GetName().Version?.Semver().ToString();
var serializerOptions = new JsonSerializerOptions
{
WriteIndented = true,
};
while (!cancellationToken.IsCancellationRequested)
{
if (!File.Exists(assemblyPath))
@@ -214,10 +218,7 @@ namespace Tgstation.Server.Host.Watchdog
bootstrapperSettingsFile,
JsonSerializer.Serialize(
bootstrapSettings,
new JsonSerializerOptions
{
WriteIndented = true,
}),
serializerOptions),
cancellationToken);
}
}