Merge pull request #3 from DuroCodes/patch-1

This commit is contained in:
Jacob Nguyen
2023-06-13 18:06:22 -05:00
committed by GitHub

View File

@@ -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);