mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix project name validation (#22547)
* Fix project name validation * Add/update tests * Address comments * Fix error
This commit is contained in:
@@ -75,11 +75,11 @@ declare module 'dataworkspace' {
|
||||
isValidBasename(name: string | null | undefined): boolean;
|
||||
|
||||
/**
|
||||
* Returns specific error message if file name is invalid
|
||||
* Returns specific error message if file name is invalid otherwise returns undefined
|
||||
* Logic is copied from src\vs\base\common\extpath.ts
|
||||
* @param name filename to check
|
||||
*/
|
||||
isValidBasenameErrorMessage(name: string | null | undefined): string;
|
||||
isValidBasenameErrorMessage(name: string | null | undefined): string | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user