Skip to content

Commit c167923

Browse files
committed
Update NewMetadatajson ps1 file
1 parent 064eeb8 commit c167923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/PostGeneration/NewCommandMetadata.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ $ApiVersion | ForEach-Object {
7979
$CommandAliasValue = $CommandAliasValue.Replace("[global::System.Management.Automation.Alias(`"", "").Replace("`")", "").Replace("]", "")
8080
}
8181
if(-not($CommandAliasValue.Contains("-Mg"))) {
82-
$CommandAliasValue = ""
82+
$CommandAliasValue = $null
8383
}
8484
$MappingValue = @{
8585
Command = $CommandName

0 commit comments

Comments
 (0)