File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/@angular/cli/blueprints/component Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -228,8 +228,11 @@ export default Blueprint.extend({
228228 afterInstall : function ( options : any ) {
229229 const appConfig = getAppFromConfig ( this . options . app ) ;
230230 if ( options . prefix && appConfig . prefix && appConfig . prefix !== options . prefix ) {
231- console . log ( chalk . yellow ( oneLine `You are using different prefix from app,
232- you might get lint errors. Please update "tslint.json" accordingly.` ) ) ;
231+ this . _writeStatusToUI ( chalk . yellow , 'WARNING' , oneLine `
232+ You are using a different prefix than the app ['${ appConfig . prefix } ']
233+ and may receive lint failures.
234+ Please verify/update 'tslint.json' accordingly.
235+ ` ) ;
233236 }
234237
235238 const returns : Array < any > = [ ] ;
You can’t perform that action at this time.
0 commit comments