summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/console_with_runtime_json/src
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-16 23:45:18 +0800
committerruki <[email protected]>2026-03-16 23:45:18 +0800
commitde6664486ef54cf7d3b50b45074539fb413e583c (patch)
tree6dd33b520e2317dbe93946287814f63a9c6af657 /tests/projects/csharp/console_with_runtime_json/src
parentbf997637e98558b7289e8f9b3d05b08d102bb8af (diff)
format csharp codes
Diffstat (limited to 'tests/projects/csharp/console_with_runtime_json/src')
-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}");
-