mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-17 16:30:39 -06:00
fix lint errors
This commit is contained in:
parent
b747c2dd96
commit
b07aa0d971
@ -2021,16 +2021,16 @@ namespace ts {
|
||||
|
||||
componentPattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter);
|
||||
|
||||
// Patterns should not include subfolders like node_modules unless they are
|
||||
// Patterns should not include subfolders like node_modules unless they are
|
||||
// explicitly included as part of the path.
|
||||
//
|
||||
// As an optimization, if the component pattern is the same as the component,
|
||||
// As an optimization, if the component pattern is the same as the component,
|
||||
// then there definitely were no wildcard characters and we do not need to
|
||||
// add the exclusion pattern.
|
||||
if (componentPattern !== component) {
|
||||
subpattern += implicitExcludePathRegexPattern;
|
||||
}
|
||||
|
||||
|
||||
subpattern += componentPattern;
|
||||
}
|
||||
else {
|
||||
|
||||
@ -1322,7 +1322,7 @@ namespace ts {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
describe("with files or folders that begin with a .", () => {
|
||||
it("that are not explicitly included", () => {
|
||||
const json = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user