mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 04:52:44 +00:00
[powershell-experimental] ValidatePattern with double-quote (") throws-exception (#5956)
* ValidatePattern having double quote(") throws exception on running Build.ps1
* fix tab with space
Co-authored-by: Ghufran Zahidi <gzahidi@cisco.com>
This commit is contained in:
@@ -62,6 +62,7 @@ function Initialize-PSUser {
|
||||
[String]
|
||||
${Email},
|
||||
[Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
|
||||
[ValidatePattern("[""A-Z]+-[0-9][0-9]")]
|
||||
[String]
|
||||
${Password},
|
||||
[Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
|
||||
|
||||
Reference in New Issue
Block a user