Remove .gitignore logging from startup. (#1323)
This commit is contained in:
parent
631591ce79
commit
4b7307accb
|
@ -48,12 +48,6 @@ export class GitIgnoreParser implements GitIgnoreFilter {
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.map((p) => p.trim())
|
.map((p) => p.trim())
|
||||||
.filter((p) => p !== '' && !p.startsWith('#'));
|
.filter((p) => p !== '' && !p.startsWith('#'));
|
||||||
if (patterns.length > 0) {
|
|
||||||
// Log the number of patterns loaded on STDERR so it doesn't clutter the output on STDOUT
|
|
||||||
console.error(
|
|
||||||
`Loaded ${patterns.length} patterns from ${patternsFilePath}`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
this.addPatterns(patterns);
|
this.addPatterns(patterns);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue