Skip to content

Commit 4e2d803

Browse files
authored
Merge pull request #726 from StijnDevogel/fix/21788
fix(21788): contradictionary conditions
2 parents d881bc4 + 88c6d9b commit 4e2d803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/powershell/tests/Test-Assessment.21788.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function Test-Assessment-21788 {
6464

6565
$testResultMarkdown = ""
6666

67-
if ($results -and $results.Count -eq 0) {
67+
if ( -not $results -or $results.Count -eq 0 ) {
6868
$passed = $true
6969
$testResultMarkdown += "No standing access to Azure Root Management Group."
7070
}

0 commit comments

Comments
 (0)