Browse Source

Early return if DecompilerTests.config.json doesn't exist (saves time with ConfigurationBuilder)

pull/3231/head
Christoph Wille 10 months ago
parent
commit
ae338a001e
  1. 3
      ICSharpCode.Decompiler.Tests/Helpers/TestsAssemblyOutput.cs

3
ICSharpCode.Decompiler.Tests/Helpers/TestsAssemblyOutput.cs

@ -40,6 +40,9 @@ namespace ICSharpCode.Decompiler.Tests.Helpers @@ -40,6 +40,9 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
static TestsAssemblyOutput()
{
if (!File.Exists("DecompilerTests.config.json"))
return;
var builder = new ConfigurationBuilder()
.AddJsonFile("DecompilerTests.config.json", optional: true, reloadOnChange: false);

Loading…
Cancel
Save