mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-13 20:28:25 +10:00
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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user