Skip to content

Commit

Permalink
Blueprints: Backfill themeData from themeZipFile
Browse files Browse the repository at this point in the history
Follows up on d0cec49 to fix the check in an `if` statement. More context: #1793 introduced a directory resource type and changed the name of a few required parameters. Among others, the `themeZipFile` parameter in the `installTheme`  changed to `themeData`. Unfortunately, the `compile()` function had a type and did not backfill the new required parameter using the older, well known `themeZipFile` parameter which caused Blueprint execution errors.
  • Loading branch information
adamziel authored Oct 8, 2024
1 parent d0cec49 commit f926e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playground/blueprints/src/lib/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function compileBlueprint(
);
} else if (
(step as any)?.step === 'installTheme' &&
'themeData' in step
'themeZipFile' in step
) {
(step as any).themeData = (step as any).themeZipFile;
logger.warn(
Expand Down

0 comments on commit f926e4e

Please sign in to comment.