We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0e6286 + 1cf97af commit 0a00166Copy full SHA for 0a00166
src/utils.js
@@ -86,7 +86,7 @@ function generateQuestions(config = {}, questions = {}) {
86
function createListOfDirectories(prev, dir) {
87
return {
88
...prev,
89
- [dir.split('/').pop()]: dir,
+ [dir.split(path.sep).pop()]: dir,
90
}
91
92
0 commit comments