fix(utils): update medusa config resolution for consistency (#9591)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-10-15 11:52:06 -03:00
1 parent 537567b679
commit e9383f25e0
9 files changed
+40 -25

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ async function loadEntrypoints(
export async function initializeContainer(
rootDirectory: string
): Promise<MedusaContainer> {
configLoader(rootDirectory, "medusa-config")
await configLoader(rootDirectory, "medusa-config")
await featureFlagsLoader(join(__dirname, "feature-flags"))
container.register({