From 62c984464b1f179b9d4908549edca8bcb246a9d6 Mon Sep 17 00:00:00 2001 From: Hare Sudhan Date: Fri, 5 Jul 2024 21:20:53 -0500 Subject: [PATCH] adding unsupported warning --- Public/Get-AtomicTechnique.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Public/Get-AtomicTechnique.ps1 b/Public/Get-AtomicTechnique.ps1 index ffed151..19a15ca 100644 --- a/Public/Get-AtomicTechnique.ps1 +++ b/Public/Get-AtomicTechnique.ps1 @@ -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 ', ')." } }