Skip to content

Commit 0286cd8

Browse files
authored
fix empty string (#215)
1 parent 0e81fec commit 0286cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/CustomAttributes/GenericBreakingChangeAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public string GetBreakingChangeTextFromAttribute(Type type, bool withCmdletName)
129129
public void PrintCustomAttributeInfo(Type type, bool withCmdletName, Action<string> writeOutput)
130130
{
131131
if (!withCmdletName) {
132-
if(!string.IsNullOrWhiteSpace(GetAttributeSpecificMessage())){
132+
if(!string.IsNullOrEmpty(GetAttributeSpecificMessage())){
133133
writeOutput(string.Format(Resources.BreakingChangesAttributesDeclarationMessage, GetAttributeSpecificMessage()));
134134
}
135135
} else

0 commit comments

Comments
 (0)