Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
TalZaccai committed Oct 31, 2024
1 parent 08cd571 commit d952de1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/host/Configuration/ConfigProviders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ public bool TryImportOptions(string path, IStreamProvider streamProvider, Option
var jsonSerializerOptions = new JsonSerializerOptions
{
Converters = { new PopulateObjectJsonConverter<Options>(options), new JsonStringEnumConverter() },
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString,
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
};

var json = streamReader.ReadToEnd();

var jsonReaderOptions = new JsonReaderOptions
{
CommentHandling = JsonCommentHandling.Skip,
CommentHandling = JsonCommentHandling.Skip,
AllowTrailingCommas = true
};

Expand Down

0 comments on commit d952de1

Please sign in to comment.