Skip to content

Commit 9931405

Browse files
committed
Fix the issue with property names being not shown in the warning message
1 parent ef926a1 commit 9931405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Common/CustomAttributes/CmdletOutputBreakingChangeAttribute.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected override string GetAttributeSpecificMessage()
7979
message.Append(Resources.BreakingChangesAttributesCmdLetOutputPropertiesRemoved);
8080
foreach (string property in DeprecatedOutputProperties)
8181
{
82-
message.Append(" '{property}'");
82+
message.Append(" '" + property + "'");
8383
}
8484
}
8585

@@ -88,7 +88,7 @@ protected override string GetAttributeSpecificMessage()
8888
message.Append(Resources.BreakingChangesAttributesCmdLetOutputPropertiesAdded);
8989
foreach (string property in NewOutputProperties)
9090
{
91-
message.Append(" '{property}'");
91+
message.Append(" '" + property + "'");
9292
}
9393
}
9494
}

0 commit comments

Comments
 (0)