Ensure "blank" template is available

This commit is contained in:
Christopher Schleiden
2020-05-21 14:34:40 -07:00
parent bf6f0d9476
commit de4411e097
+3 -1
View File
@@ -50,10 +50,12 @@ async function checkWorkflows(
`${workflowId}.properties.json`
));
const iconName: string | undefined = workflowProperties["iconName"];
const isBlankTemplate = workflowId === "blank";
const partnerWorkflow = workflowProperties.categories === null;
const enabled =
!partnerWorkflow &&
(isBlankTemplate || !partnerWorkflow) &&
(await checkWorkflow(workflowFilePath, enabledActions));
const workflowDesc: WorkflowDesc = {