Skip to content

Commit ee8e7e5

Browse files
committed
fix: convert spaces in project names to -
1 parent 0c2d054 commit ee8e7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ async function init() {
285285
const needsCypressCT = needsCypress && !needsVitest
286286
const needsPlaywright = argv.playwright || needsE2eTesting === 'playwright'
287287

288-
const root = path.join(cwd, targetDir)
288+
const root = path.join(cwd, targetDir.replace(/\s+/g, '-'))
289289

290290
if (fs.existsSync(root) && shouldOverwrite) {
291291
emptyDir(root)

0 commit comments

Comments
 (0)