Fix get-template script *again*

This commit is contained in:
Tom Coleman 2022-08-12 16:39:25 +10:00
parent 3f149b6fc7
commit 27d5c52546

View File

@ -43,7 +43,7 @@ export async function getTemplate(
template.cadence.includes(cadence)
);
const jobTemplates = cadenceTemplates.filter(([, t]) => !t.skipScripts?.includes(scriptName));
potentialTemplateKeys = Object.keys(jobTemplates);
potentialTemplateKeys = jobTemplates.map(([k]) => k);
}
if (potentialTemplateKeys.length !== total) {