Skip to content

Commit 1263992

Browse files
zceyyx990803
authored andcommitted
skip exist check if creating in current dir (#558)
The current working directory must be exist
1 parent 74cd5e1 commit 1263992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/vue-init

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ process.on('exit', () => {
8080
console.log()
8181
})
8282

83-
if (exists(to)) {
83+
if (inPlace || exists(to)) {
8484
inquirer.prompt([{
8585
type: 'confirm',
8686
message: inPlace

0 commit comments

Comments
 (0)