From 2d3963cf315d399104200a1ca58f60f27159faba Mon Sep 17 00:00:00 2001 From: Stuart Date: Mon, 1 Nov 2021 09:17:41 +0000 Subject: [PATCH] Fix to ParameterBindingValidationException exception thrown when $PSUICulture not en-US #382 --- source/prefix.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/prefix.ps1 b/source/prefix.ps1 index b5e5c9c5..c805e33b 100644 --- a/source/prefix.ps1 +++ b/source/prefix.ps1 @@ -17,7 +17,7 @@ if ([System.String]::IsNullOrEmpty($culture)) } else { - if (Test-Path -Path (Join-Path -Path $script:LabBuidlerModuleRoot -ChildPath $culture)) + if (! (Test-Path -Path (Join-Path -Path $script:LabBuidlerModuleRoot -ChildPath $culture))) { $culture = 'en-US' }