Skip to content

Commit 564a179

Browse files
mirecadarturcic
authored andcommitted
IgnoreConfig IsEmty property is ignored during yaml de/serialization
1 parent 808b929 commit 564a179

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitVersionCore/Model/Configuration/IgnoreConfig.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public IgnoreConfig()
1919
[YamlMember(Alias = "sha")]
2020
public IEnumerable<string> ShAs { get; set; }
2121

22+
[YamlIgnore]
2223
public virtual bool IsEmpty => Before == null
2324
&& (ShAs == null || ShAs.Any() == false);
2425

0 commit comments

Comments
 (0)