Skip to content

Commit

Permalink
fix: update module declaration syntax in add-module-to-container utility
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Nov 19, 2024
1 parent dbb4840 commit 4f5c54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/add-module-to-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4f5c54d

Please sign in to comment.