Skip to content

Commit 9627e34

Browse files
author
Timothy Wamalwa (from Dev Box)
committed
Remove sorting by unique name because it omits permissions with the same name but different permission type
1 parent 4a7e86d commit 9627e34

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/PostGeneration/NewCommandMetadata.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ $ApiVersion | ForEach-Object {
138138
IsLeastPrivilege = $_.isLeastPrivilege
139139
}
140140
}
141-
$Permissions = $Permissions | Sort-Object -Property Name -Unique
142141
$Permissions = $Permissions | Sort-Object -Property PermissionType
143142
$Permissions = $Permissions | Sort-Object -Property IsLeastPrivilege
144143
[array]::Reverse($Permissions)

0 commit comments

Comments
 (0)