mirror of
https://github.com/SrIzan10/sern-create-bot.git
synced 2026-05-01 11:05:20 +00:00
Merge pull request #3 from DuroCodes/patch-1
This commit is contained in:
@@ -96,7 +96,7 @@ async function runInteractive() {
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
}
|
||||
const configJson = createConfig(
|
||||
(result.template as string).includes('typescript')
|
||||
(result.template as string).includes('ts')
|
||||
);
|
||||
await createProject(
|
||||
result.name,
|
||||
@@ -139,7 +139,7 @@ async function runShort(
|
||||
} else if (!fs.existsSync(root)) {
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
}
|
||||
const configJson = createConfig(templateName.includes('typescript'));
|
||||
const configJson = createConfig(templateName.includes('ts'));
|
||||
|
||||
await createProject(name, configJson, root, selectedTemplate, argv.overwrite);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user