Suppress PossibleIncorrectUsageOfAssignmentOperator rule violation by adding extra parenthesis (#9460)
This commit is contained in:
parent
2285ece613
commit
0d55a7249b
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ Describe "Verify approved aliases list" -Tags "CI" {
|
||||||
Select-Object -Property Name, @{
|
Select-Object -Property Name, @{
|
||||||
Name = 'ConfirmImpact'
|
Name = 'ConfirmImpact'
|
||||||
Expression = {
|
Expression = {
|
||||||
if ($t = $_.ImplementingType) {
|
if (($t = $_.ImplementingType)) {
|
||||||
$t.GetCustomAttributes($true).Where{$_.TypeId.Name -eq 'CmdletAttribute'}.ConfirmImpact
|
$t.GetCustomAttributes($true).Where{$_.TypeId.Name -eq 'CmdletAttribute'}.ConfirmImpact
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue