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,