1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

update some libs

This commit is contained in:
Kyle Spearrin
2020-01-13 09:33:12 -05:00
parent bc0901348b
commit b1e8d16b9d
3 changed files with 8 additions and 9 deletions

View File

@ -116,7 +116,7 @@ namespace Bit.Setup
var configText = File.ReadAllText(ConfigPath);
var deserializer = new DeserializerBuilder()
.WithNamingConvention(new UnderscoredNamingConvention())
.WithNamingConvention(UnderscoredNamingConvention.Instance)
.Build();
Config = deserializer.Deserialize<Configuration>(configText);
}
@ -128,8 +128,7 @@ namespace Bit.Setup
throw new Exception("Config is null.");
}
var serializer = new SerializerBuilder()
.EmitDefaults()
.WithNamingConvention(new UnderscoredNamingConvention())
.WithNamingConvention(UnderscoredNamingConvention.Instance)
.WithTypeInspector(inner => new CommentGatheringTypeInspector(inner))
.WithEmissionPhaseObjectGraphVisitor(args => new CommentsObjectGraphVisitor(args.InnerVisitor))
.Build();

View File

@ -15,7 +15,7 @@
<PackageReference Include="Handlebars.Net" Version="1.10.1" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="YamlDotNet" Version="6.1.2" />
<PackageReference Include="YamlDotNet" Version="8.0.0" />
</ItemGroup>
<ItemGroup>