File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -437,10 +437,10 @@ export class Session {
437
437
}
438
438
if ( ! isAngularProject ( project , NG_CORE ) ) {
439
439
project . disableLanguageService ( ) ;
440
- const totalFiles = project . getFileNames ( ) . length ;
441
440
const msg =
442
- `Disabling language service for ${ projectName } because it is not an Angular project. ` +
443
- `There are ${ totalFiles } files in the project but '${ NG_CORE } ' is not detected.` ;
441
+ `Disabling language service for ${ projectName } because it is not an Angular project ` +
442
+ `('${ NG_CORE } ' could not be found). ` +
443
+ `If you believe you are seeing this message in error, please run a fresh package install.` ;
444
444
this . connection . console . info ( msg ) ;
445
445
project . log ( msg ) ;
446
446
if ( project . getExcludedFiles ( ) . some ( f => f . endsWith ( NG_CORE ) ) ) {
You can’t perform that action at this time.
0 commit comments