From ca0aa1a8d53f094dbc012470e6188c12424bef57 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sun, 11 Apr 2021 19:13:02 +0200 Subject: [PATCH] Makes YAML linter not blow up once warnings or errors are logged. --- Content.YAMLLinter/Program.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Content.YAMLLinter/Program.cs b/Content.YAMLLinter/Program.cs index 3e6c18f524..55aa3ccbef 100644 --- a/Content.YAMLLinter/Program.cs +++ b/Content.YAMLLinter/Program.cs @@ -44,7 +44,10 @@ namespace Content.YAMLLinter private async Task>> ValidateClient() { - var client = StartClient(); + var client = StartClient(new ClientContentIntegrationOption() + { + FailureLogLevel = null, + }); await client.WaitIdleAsync(); @@ -63,7 +66,10 @@ namespace Content.YAMLLinter private async Task>> ValidateServer() { - var server = StartServer(); + var server = StartServer(new ServerContentIntegrationOption() + { + FailureLogLevel = null, + }); await server.WaitIdleAsync();