Skip to content

Commit ad351fe

Browse files
committed
fix: Force the dictionary overload by casting the built dictionary to the interface type
1 parent 4125e37 commit ad351fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/GitVersion.Core/Extensions/ConfigurationExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ private static bool ShouldBeIgnored(ICommit commit, IIgnoreConfiguration ignore)
117117

118118
if (throwIfNotFound)
119119
{
120-
label = label.FormatWith(dictionary, environment);
120+
label = label.FormatWith((IDictionary<string, object>)dictionary, environment);
121121
}
122122
else
123123
{
124124
try
125125
{
126-
label = label.FormatWith(dictionary, environment);
126+
label = label.FormatWith((IDictionary<string, object>)dictionary, environment);
127127
}
128128
catch (ArgumentException)
129129
{

0 commit comments

Comments
 (0)