Skip to content

Commit

Permalink
feat(create-vite): supports nested directory (closes #6638) (#6739)
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 authored May 10, 2022
1 parent f18eedf commit 6ccf9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-vite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ async function init() {
if (overwrite) {
emptyDir(root)
} else if (!fs.existsSync(root)) {
fs.mkdirSync(root)
fs.mkdirSync(root, { recursive: true })
}

// determine template
Expand Down

0 comments on commit 6ccf9aa

Please sign in to comment.