Skip to content

Commit

Permalink
fix(core): ensures core initialization on retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed May 21, 2019
1 parent ede2d66 commit 333cb26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default async function contain<T>(
const core = await getCore(manager, options);
options = core.options;

core.initialize();
const response = await fn(core);
manager.restore();
return response;
Expand Down

0 comments on commit 333cb26

Please sign in to comment.