Skip to content

Commit

Permalink
core: fix blueprint load
Browse files Browse the repository at this point in the history
  • Loading branch information
jkozol committed Aug 23, 2022
1 parent 059a742 commit 36948ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/actions/blueprints.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const blueprintsUpdate = (blueprint) => async (dispatch) => {
try {
dispatch(blueprintsUpdating());
// TODO: Optimize
await composer.newBlueprint(blueprint);
const depsolveResponse = await composer.depsolveBlueprint(blueprint.name);
const dependencies = depsolveResponse.blueprints[0].dependencies;
const blueprintComponents = await generateComponents(blueprint.packages, dependencies);
Expand Down

0 comments on commit 36948ec

Please sign in to comment.