1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -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();