From 647279169e23216a1073a1a6bfc68713f07f40db Mon Sep 17 00:00:00 2001 From: Dustin Dembeck Date: Fri, 8 Jul 2022 17:06:06 -0700 Subject: [PATCH] Removed ValidateScript attribute. Removed ValidateScript attribute from the language parameter to fix the error and is not needed as the value is checked later. --- Install.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Install.ps1 b/Install.ps1 index b08473f..638d8c6 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -64,7 +64,6 @@ param [switch]$ignore_in_recommendations_off, [Parameter(HelpMessage = 'Select the desired language to use for installation. Default is the detected system language.')] - [ValidateScript({ $_ -match '^(en|py|ru)' })] [Alias('l')] [string]$Language )