summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/console_with_runtime_json/src/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/csharp/console_with_runtime_json/src/Program.cs')
-rw-r--r--tests/projects/csharp/console_with_runtime_json/src/Program.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/projects/csharp/console_with_runtime_json/src/Program.cs b/tests/projects/csharp/console_with_runtime_json/src/Program.cs
index 2c9b0783b..690faf873 100644
--- a/tests/projects/csharp/console_with_runtime_json/src/Program.cs
+++ b/tests/projects/csharp/console_with_runtime_json/src/Program.cs
@@ -1,8 +1,7 @@
using System.Text.Json;
var runtimeFile = Path.Combine(AppContext.BaseDirectory, "runtime.json");
-if (!File.Exists(runtimeFile))
-{
+if (!File.Exists(runtimeFile)) {
Console.WriteLine("runtime.json missing");
return;
}
@@ -14,4 +13,3 @@ var runtime = doc.RootElement.TryGetProperty("runtime", out var value)
: "unknown";
Console.WriteLine($"runtime={runtime}");
-