mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
fix(cli): 🐛 path
This commit is contained in:
@@ -72,9 +72,9 @@ const startInteractive = async () => {
|
|||||||
throw new Error('TEMPLATE_NAME_INVALID: ', templateName)
|
throw new Error('TEMPLATE_NAME_INVALID: ', templateName)
|
||||||
|
|
||||||
const possiblesPath = [
|
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),
|
||||||
|
join(__dirname, 'starters', 'apps', templateName),
|
||||||
]
|
]
|
||||||
|
|
||||||
const answer = outDir.toLowerCase() || 'n'
|
const answer = outDir.toLowerCase() || 'n'
|
||||||
|
|||||||
Reference in New Issue
Block a user