File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2152,7 +2152,7 @@ namespace ts.server {
21522152 const rule = this . safelist [ name ] ;
21532153 for ( const root of normalizedNames ) {
21542154 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 } ' ` ) ;
21562156
21572157 // If the file matches, collect its types packages and exclude rules
21582158 if ( rule . types ) {
@@ -2218,7 +2218,7 @@ namespace ts.server {
22182218 const inferredTypingName = removeFileExtension ( baseName ) ;
22192219 const cleanedTypingName = removeMinAndVersionNumbers ( inferredTypingName ) ;
22202220 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 ` ) ;
22222222 excludedFiles . push ( normalizedNames [ i ] ) ;
22232223 exclude = true ;
22242224 }
You can’t perform that action at this time.
0 commit comments