Skip to content

Commit 0fff31c

Browse files
author
Maddie Clayton
authored
Merge pull request #42 from Azure/41_fix
Fix the issue with property names being not shown in the warning message
2 parents ef926a1 + 9931405 commit 0fff31c

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)