Small refactor in ConfigureRepoStep

This commit is contained in:
Alex Gleason committed 2025-12-23 01:03:40 -06:00
1 parent e98fc617a1
commit 43190b7a35
1 file changed
+2 -3
@@ -65,13 +65,12 @@ export function ConfigureRepoStep({
// Get the template name
const dotAI = new DotAI(fs, `${projectsPath}/${projectId}`);
const template = await dotAI.readTemplate();
const templateName = template?.name;
// Build t-tags array
const tTags = ['shakespeare'];
if (templateName) {
tTags.push(templateName);
if (template) {
tTags.push(template.name);
}
// Create the repository announcement event