Skip to content

Commit

Permalink
fix fastboot-shoebox-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 committed May 13, 2023
1 parent d8065ca commit 1d2a64f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/fastboot/src/fastboot-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ module.exports = class FastBootInfo {
*/
register(instance) {
instance.register('info:-fastboot', this, { instantiate: false });
const fastbootService = instance.lookup('service:fastboot');
if (fastbootService) {
fastbootService._fastbootInfo = this;
}
}
};

0 comments on commit 1d2a64f

Please sign in to comment.