fix(cli): 🐛 path

This commit is contained in:
Leifer Mendez
2022-12-12 16:50:15 +01:00
parent aa61a1e1b5
commit 32212fb52d

View File

@@ -72,9 +72,9 @@ const startInteractive = async () => {
throw new Error('TEMPLATE_NAME_INVALID: ', templateName)
const possiblesPath = [
join(__dirname, 'starters', 'apps', templateName),
join(__dirname, '..', 'starters', 'apps', templateName),
join(__dirname, '..', '..', 'starters', 'apps', templateName),
join(__dirname, '..', 'starters', 'apps', templateName),
join(__dirname, 'starters', 'apps', templateName),
]
const answer = outDir.toLowerCase() || 'n'