Skip to content

Commit

Permalink
feat: pass loaded mods to the service boot functions
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda committed Jul 14, 2022
1 parent db98863 commit df9798f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/boot/boot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function bootService (serviceComponent, options, config, messages, bootedService
parsedServices: options.parsedServices,
pluginComponents: options.pluginComponents,
blueprintComponents: options.blueprintComponents,
loadedMods: options.loadedMods,
pluginPaths: options.pluginPaths,
blueprintPaths: options.blueprintPaths,
config: config,
Expand Down
3 changes: 3 additions & 0 deletions lib/boot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ async function bootTymly (options, messages) {
const bootedServices = await bootServices(
parsedServices,
loadedComponents,
loadedMods,
options,
messages
)
Expand Down Expand Up @@ -107,6 +108,7 @@ function parseServices (loadedComponents, messages) {
async function bootServices (
parsedServices,
loadedComponents,
loadedMods,
options,
messages
) {
Expand All @@ -117,6 +119,7 @@ async function bootServices (
blueprintComponents: loadedComponents.blueprintComponents,
pluginPaths: loadedComponents.pluginPaths,
blueprintPaths: loadedComponents.blueprintPaths,
loadedMods,
config: options.config,
messages: messages
})
Expand Down

0 comments on commit df9798f

Please sign in to comment.