mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Small refactor in ConfigureRepoStep
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user