File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2021,16 +2021,16 @@ namespace ts {
2021
2021
2022
2022
componentPattern += component . replace ( reservedCharacterPattern , replaceWildcardCharacter ) ;
2023
2023
2024
- // Patterns should not include subfolders like node_modules unless they are
2024
+ // Patterns should not include subfolders like node_modules unless they are
2025
2025
// explicitly included as part of the path.
2026
2026
//
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,
2028
2028
// then there definitely were no wildcard characters and we do not need to
2029
2029
// add the exclusion pattern.
2030
2030
if ( componentPattern !== component ) {
2031
2031
subpattern += implicitExcludePathRegexPattern ;
2032
2032
}
2033
-
2033
+
2034
2034
subpattern += componentPattern ;
2035
2035
}
2036
2036
else {
Original file line number Diff line number Diff line change @@ -1322,7 +1322,7 @@ namespace ts {
1322
1322
} ) ;
1323
1323
} ) ;
1324
1324
} ) ;
1325
-
1325
+
1326
1326
describe ( "with files or folders that begin with a ." , ( ) => {
1327
1327
it ( "that are not explicitly included" , ( ) => {
1328
1328
const json = {
You can’t perform that action at this time.
0 commit comments