File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2021,16 +2021,16 @@ namespace ts {
20212021
20222022 componentPattern += component . replace ( reservedCharacterPattern , replaceWildcardCharacter ) ;
20232023
2024- // Patterns should not include subfolders like node_modules unless they are
2024+ // Patterns should not include subfolders like node_modules unless they are
20252025 // explicitly included as part of the path.
20262026 //
2027- // As an optimization, if the component pattern is the same as the component,
2027+ // As an optimization, if the component pattern is the same as the component,
20282028 // then there definitely were no wildcard characters and we do not need to
20292029 // add the exclusion pattern.
20302030 if ( componentPattern !== component ) {
20312031 subpattern += implicitExcludePathRegexPattern ;
20322032 }
2033-
2033+
20342034 subpattern += componentPattern ;
20352035 }
20362036 else {
Original file line number Diff line number Diff line change @@ -1322,7 +1322,7 @@ namespace ts {
13221322 } ) ;
13231323 } ) ;
13241324 } ) ;
1325-
1325+
13261326 describe ( "with files or folders that begin with a ." , ( ) => {
13271327 it ( "that are not explicitly included" , ( ) => {
13281328 const json = {
You can’t perform that action at this time.
0 commit comments