We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b478e53 commit bb92273Copy full SHA for bb92273
src/Backend/src/Tooling/ClaimCommand.cs
@@ -1,4 +1,5 @@
1
using System.CommandLine;
2
+using System.Text.Json;
3
using Confix.Tooling;
4
using Confix.Tooling.Option;
5
using Spectre.Console;
@@ -79,12 +80,12 @@ private static async Task<int> ExecuteAsync(
79
80
81
if (useJson)
82
{
- console.WriteJson(new
83
+ Console.WriteLine(JsonSerializer.Serialize(new
84
85
PublishdVersion = claimedVersion.PublishedApplicationPart?.Version,
86
Token = token,
87
DecryptionKey = decryptionKey
- });
88
+ }));
89
90
return ExitCodes.Success;
91
}
0 commit comments