Skip to content

Commit

Permalink
fix(core.gbapp): Fix deployment of assets missing await.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Nov 9, 2020
1 parent 04b07b3 commit ddaa8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core.gbapp/services/GBDeployer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ export class GBDeployer implements IGBDeployer {

// Then all remaining generalPackages are loaded.

const instances = core.loadInstances();
const instances = await core.loadInstances();
await CollectionUtil.asyncForEach(instances, async instance => {
this.mountGBKBAssets(`{instance.botId}.gbkb`, instance.botId, `{instance.botId}.gbkb`);
});
Expand Down

0 comments on commit ddaa8d5

Please sign in to comment.