Skip to content

Commit bb92273

Browse files
committed
Try something else
1 parent b478e53 commit bb92273

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Backend/src/Tooling/ClaimCommand.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.CommandLine;
2+
using System.Text.Json;
23
using Confix.Tooling;
34
using Confix.Tooling.Option;
45
using Spectre.Console;
@@ -79,12 +80,12 @@ private static async Task<int> ExecuteAsync(
7980

8081
if (useJson)
8182
{
82-
console.WriteJson(new
83+
Console.WriteLine(JsonSerializer.Serialize(new
8384
{
8485
PublishdVersion = claimedVersion.PublishedApplicationPart?.Version,
8586
Token = token,
8687
DecryptionKey = decryptionKey
87-
});
88+
}));
8889

8990
return ExitCodes.Success;
9091
}

0 commit comments

Comments
 (0)