From 4f5c54dac3d6b4717820e2b8349e52abe47da931 Mon Sep 17 00:00:00 2001 From: Richard Zampieri Date: Tue, 19 Nov 2024 15:14:28 -0800 Subject: [PATCH] fix: update module declaration syntax in add-module-to-container utility --- src/utils/add-module-to-container.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/add-module-to-container.ts b/src/utils/add-module-to-container.ts index 66a5d38..34ef530 100644 --- a/src/utils/add-module-to-container.ts +++ b/src/utils/add-module-to-container.ts @@ -166,7 +166,7 @@ async function addModuleToContainerNestedPath(name: string, path?: string) { containerData.modules.push(`${moduleName}Module`); const newModule = containerData.modules.join(", "); - const newModuleDeclaration = `.create([${newModule}]`; + const newModuleDeclaration = `this.configContainer([${newModule}])`; const newFileContent = [ ...containerData.imports,