Skip to content

Commit 548616e

Browse files
committed
feat(@schematics/angular): use STDERR to report warnings
1 parent 2a1e19c commit 548616e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/utility/ast-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export function addSymbolToNgModuleMetadata(
426426
}
427427

428428
if (!node) {
429-
console.log('No app module found. Please add your new class to your component.');
429+
console.error('No app module found. Please add your new class to your component.');
430430

431431
return [];
432432
}

0 commit comments

Comments
 (0)