Skip to content

Commit

Permalink
dont crash if conandata modified
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Jun 20, 2024
1 parent 5c8bb21 commit 8b2e84c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ConanFileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static string[] GetConandataRequirements(string projectDirectory)

var deserializer = new DeserializerBuilder()
.WithNamingConvention(UnderscoredNamingConvention.Instance)
.IgnoreUnmatchedProperties()
.Build();

var result = deserializer.Deserialize<Requirements>(string.Join(Environment.NewLine, conandataContents));
Expand Down

0 comments on commit 8b2e84c

Please sign in to comment.