Skip to content

Commit 7fb34dc

Browse files
alan-agius4Keen Yee Liau
authored and
Keen Yee Liau
committedMar 30, 2020
fix(@schematics/angular): clarify tslint:recommended warning message
Closes: #17311
1 parent f902f49 commit 7fb34dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/schematics/angular/migrations/update-10/update-tslint.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ export default function (): Rule {
129129
(extendsAst.kind === 'string' && extendsAst.value !== 'tslint:recommended') ||
130130
(extendsAst.kind === 'array' && extendsAst.elements.some(e => e.value !== 'tslint:recommended'))
131131
) {
132-
logger.warn(`tslint configuration does not extend "tslint:recommended".`
133-
+ '\nMigration will terminate as some rules might conflict.');
132+
logger.warn(`tslint configuration does not extend "tslint:recommended" or it extends multiple configurations.`
133+
+ '\nSkipping rule changes as some rules might conflict.');
134134

135135
return;
136136
}

0 commit comments

Comments
 (0)
Please sign in to comment.