Skip to content

Commit

Permalink
adding unsupported warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbuff committed Jul 6, 2024
1 parent 08b5ce3 commit 62c9844
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 62c9844

Please sign in to comment.