Removed ValidateScript attribute.

Removed ValidateScript attribute from the language parameter to fix the error and is not needed as the value is checked later.
This commit is contained in:
Dustin Dembeck
2022-07-08 17:06:06 -07:00
committed by GitHub
parent a9731ae08c
commit 647279169e

View File

@@ -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
)