Skip to content

Commit 5a6ffca

Browse files
Update packages/create-app/index.js
Co-authored-by: patak <matias.capeletto@gmail.com>
1 parent c89f1e6 commit 5a6ffca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ async function init() {
158158
name: 'yes',
159159
initial: 'Y',
160160
message:
161-
`Target directory ${baseDir} is not empty.\n` +
161+
( targetDir === '.' ? 'Current directory' : `Target directory ${targetDir} ) + ` is not empty.\n` +
162162
`Remove existing files and continue?`
163163
})
164164
if (yes) {

0 commit comments

Comments
 (0)