File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ async function init() {
285
285
const needsCypressCT = needsCypress && ! needsVitest
286
286
const needsPlaywright = argv . playwright || needsE2eTesting === 'playwright'
287
287
288
- const root = path . join ( cwd , targetDir . replace ( / \s + / g , '-' ) )
288
+ const root = path . join ( cwd , targetDir )
289
289
290
290
if ( fs . existsSync ( root ) && shouldOverwrite ) {
291
291
emptyDir ( root )
@@ -446,7 +446,8 @@ async function init() {
446
446
447
447
console . log ( `\nDone. Now run:\n` )
448
448
if ( root !== cwd ) {
449
- console . log ( ` ${ bold ( green ( `cd ${ path . relative ( cwd , root ) } ` ) ) } ` )
449
+ const cdProjectName = path . relative ( cwd , root )
450
+ console . log ( ` ${ bold ( green ( `cd ${ cdProjectName . includes ( ' ' ) ? `"${ cdProjectName } "` : cdProjectName } ` ) ) } ` )
450
451
}
451
452
console . log ( ` ${ bold ( green ( getCommand ( packageManager , 'install' ) ) ) } ` )
452
453
if ( needsPrettier ) {
You can’t perform that action at this time.
0 commit comments