mirror of
https://github.com/bitwarden/server.git
synced 2025-01-08 19:47:44 +01:00
Add IgnoreUnmatchedProperties when deserializing YAML (#4061)
This commit is contained in:
parent
6970207e9e
commit
4a607b7406
@ -150,6 +150,7 @@ public class Context
|
||||
var configText = File.ReadAllText(ConfigPath);
|
||||
var deserializer = new DeserializerBuilder()
|
||||
.WithNamingConvention(UnderscoredNamingConvention.Instance)
|
||||
.IgnoreUnmatchedProperties()
|
||||
.Build();
|
||||
Config = deserializer.Deserialize<Configuration>(configText);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user