Skip to content

Commit

Permalink
allow space in between words of project name (#151)
Browse files Browse the repository at this point in the history
Co-authored-by: David Finol <[email protected]>
  • Loading branch information
webbertakken and davidmfinol authored Nov 10, 2021
1 parent 576ef39 commit 79e50e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/model/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 79e50e3

Please sign in to comment.