Commit a935ed5 1 parent c8d2723 commit a935ed5 Copy full SHA for a935ed5
File tree 1 file changed +5
-2
lines changed
packages/@angular/cli/blueprints/component
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({
228
228
afterInstall : function ( options : any ) {
229
229
const appConfig = getAppFromConfig ( this . options . app ) ;
230
230
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
+ ` ) ;
233
236
}
234
237
235
238
const returns : Array < any > = [ ] ;
You can’t perform that action at this time.
0 commit comments