We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fe9a69 commit c0a0a84Copy full SHA for c0a0a84
packages/create-app/index.js
@@ -155,8 +155,11 @@ async function init() {
155
name: 'yes',
156
initial: 'Y',
157
message:
158
- `Target directory ${targetDir} is not empty.\n` +
159
- `Remove existing files and continue?`
+ (targetDir === '.'
+ ? 'Current directory'
160
+ : `Target directory ${targetDir}`) +
161
+ ' is not empty.\n' +
162
+ 'Remove existing files and continue?'
163
})
164
if (yes) {
165
emptyDir(root)
0 commit comments