Skip to content

Commit

Permalink
perf: remove warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
EnochGao authored and why520crazy committed Nov 2, 2022
1 parent 1234de7 commit 661f45f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/core/src/plugins/built-in-component/built-in-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,12 @@ async function generateNgModuleText(sourceFile: NgSourceFile, components: Compon

return `
@NgModule({
${moduleMetadataArgs}
${moduleMetadataArgs}
})
export class CustomComponentsModule {
constructor() {
addBuiltInComponents([
${builtInComponentsArgs},
]);
}
constructor() {
addBuiltInComponents([${builtInComponentsArgs}]);
}
}
`;
}

0 comments on commit 661f45f

Please sign in to comment.