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:
@ -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();
|
||||
|
Reference in New Issue
Block a user