Skip to content

Commit

Permalink
adding unsupported warning (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbuff authored Jul 16, 2024
1 parent 006bd21 commit 8cb890b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Public/Get-AtomicTechnique.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ filter Get-AtomicTechnique {

foreach ($SupportedPlatform in $AtomicTest['supported_platforms']) {
if ($ValidSupportedPlatforms -cnotcontains $SupportedPlatform) {
Write-Error "$ErrorStringPrefix[Atomic test name: $($AtomicTestInstance.name)] 'atomic_tests[$i].supported_platforms': '$SupportedPlatform' must be one of the following: $($ValidSupportedPlatforms -join ', ')."
return
Write-Warning "$ErrorStringPrefix[Atomic test name: $($AtomicTestInstance.name)] 'atomic_tests[$i].supported_platforms': '$SupportedPlatform' must be one of the following: $($ValidSupportedPlatforms -join ', ')."
}
}

Expand Down

0 comments on commit 8cb890b

Please sign in to comment.