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