mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 20:47:28 +01:00
Fix an IDE message
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user