Skip to content

Commit 0a00166

Browse files
authored
Merge pull request #67 from Yonben/windows-sep-fix
Windows sep fix
2 parents e0e6286 + 1cf97af commit 0a00166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function generateQuestions(config = {}, questions = {}) {
8686
function createListOfDirectories(prev, dir) {
8787
return {
8888
...prev,
89-
[dir.split('/').pop()]: dir,
89+
[dir.split(path.sep).pop()]: dir,
9090
}
9191
}
9292

0 commit comments

Comments
 (0)