File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2152,7 +2152,7 @@ namespace ts.server {
2152
2152
const rule = this . safelist [ name ] ;
2153
2153
for ( const root of normalizedNames ) {
2154
2154
if ( rule . match . test ( root ) ) {
2155
- this . logger . info ( `Excluding files based on rule ${ name } ` ) ;
2155
+ this . logger . info ( `Excluding files based on rule ${ name } matching file ' ${ root } ' ` ) ;
2156
2156
2157
2157
// If the file matches, collect its types packages and exclude rules
2158
2158
if ( rule . types ) {
@@ -2218,7 +2218,7 @@ namespace ts.server {
2218
2218
const inferredTypingName = removeFileExtension ( baseName ) ;
2219
2219
const cleanedTypingName = removeMinAndVersionNumbers ( inferredTypingName ) ;
2220
2220
if ( this . legacySafelist [ cleanedTypingName ] ) {
2221
- this . logger . info ( `Excluded '${ normalizedNames [ i ] } '` ) ;
2221
+ this . logger . info ( `Excluded '${ normalizedNames [ i ] } ' because it matched ${ cleanedTypingName } from the legacy safelist ` ) ;
2222
2222
excludedFiles . push ( normalizedNames [ i ] ) ;
2223
2223
exclude = true ;
2224
2224
}
You can’t perform that action at this time.
0 commit comments