Skip to content

Commit b07aa0d

Browse files
committed
fix lint errors
1 parent b747c2d commit b07aa0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/compiler/core.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 {

src/harness/unittests/matchFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 = {

0 commit comments

Comments
 (0)