allow space in between words of project name (#151)
Co-authored-by: David Finol <davidmfinol@gmail.com>pull/153/head
parent
576ef39bb6
commit
79e50e3e4f
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