diff --git a/src/badges.js b/src/badges.js index 9e75e5b..0c4f75a 100644 --- a/src/badges.js +++ b/src/badges.js @@ -761,7 +761,7 @@ export async function syncBadgeTemplate(options) { const templates = await getTemplates(context.project.path); const syncTemplates = templateName ? templates.filter((template) => template.details.name == templateName) : templates; - if (!syncTemplates.length) { + if (!syncTemplates.length && templateName != LOCATIONS_FILE) { console.log(chalk.grey(`No templates found.\n`)); return; } diff --git a/src/init.js b/src/init.js index ce2b0ef..e3faf68 100644 --- a/src/init.js +++ b/src/init.js @@ -424,6 +424,7 @@ export const init = async (options) => { 'snapfu.siteId': answers.siteId, 'snapfu.author': user?.name || user.login || 'Unknown', 'snapfu.framework': answers.framework, + 'snapfu.managed': answers.organization === 'searchspring-implementations' ? true : false, }; // add advanced scaffold variables