Skip to content

Commit

Permalink
skip exist check if creating in current dir (#558)
Browse files Browse the repository at this point in the history
The current working directory must be exist
  • Loading branch information
zce authored and yyx990803 committed Feb 5, 2018
1 parent 74cd5e1 commit 1263992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/vue-init
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ process.on('exit', () => {
console.log()
})

if (exists(to)) {
if (inPlace || exists(to)) {
inquirer.prompt([{
type: 'confirm',
message: inPlace
Expand Down

0 comments on commit 1263992

Please sign in to comment.