allow space in between words of project name
parent
a2b1ed6631
commit
b88af19d7f
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,7 @@ class Input {
|
|||
}
|
||||
|
||||
static isValidFolderName(folderName) {
|
||||
const validFolderName = new RegExp(/^(\.|\.\/)?(\.?[\w~]+([_-]?[\w~]+)*\/?)*$/);
|
||||
const validFolderName = new RegExp(/^(\.|\.\/)?(\.?[\w~]+([ _-]?[\w~]+)*\/?)*$/);
|
||||
|
||||
return validFolderName.test(folderName);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue