mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-15 05:02:24 +08:00
Fix get-template
script *again*
This commit is contained in:
parent
3f149b6fc7
commit
27d5c52546
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user