Skip to content

Commit

Permalink
fix(cli): correct 'providers' spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Dec 13, 2023
1 parent 1869b59 commit 91f285b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schematics/utils/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export function addServiceToModuleOrStandalone(
): void {
const source = getSourceFile(tree, filePath);
if (standalone) {
importInStandalone(tree, filePath, serviceName, importPath, 'provides');
importInStandalone(tree, filePath, serviceName, importPath, 'providers');
} else {
const changes = _addProviderToModule(source, filePath, serviceName, importPath);
applyChanges(tree, filePath, changes);
Expand Down

0 comments on commit 91f285b

Please sign in to comment.