Add prompt for autorest SQL project name (#17365)

* Adding prompt for project name

* Updating test

* PR feedback

* Fixing rename logic so that folder is also named according to project

* Updating autorest test to confirm rename
This commit is contained in:
Benjin Dubishar
2021-10-17 07:53:22 -07:00
committed by GitHub
parent ecb7f9311a
commit 7f92d8bc19
4 changed files with 44 additions and 14 deletions

View File

@@ -544,8 +544,8 @@ export function validateSqlServerPortNumber(port: string | undefined): boolean {
return !isNaN(valueAsNum) && valueAsNum > 0 && valueAsNum < 65535;
}
export function isEmptyString(password: string | undefined): boolean {
return password === undefined || password === '';
export function isEmptyString(input: string | undefined): boolean {
return input === undefined || input === '';
}
export function isValidSQLPassword(password: string, userName: string = 'sa'): boolean {