summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/gitIgnoreParser.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/core/src/utils/gitIgnoreParser.ts')
-rw-r--r--packages/core/src/utils/gitIgnoreParser.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/core/src/utils/gitIgnoreParser.ts b/packages/core/src/utils/gitIgnoreParser.ts
index 69797282..caa11f8b 100644
--- a/packages/core/src/utils/gitIgnoreParser.ts
+++ b/packages/core/src/utils/gitIgnoreParser.ts
@@ -49,7 +49,8 @@ export class GitIgnoreParser implements GitIgnoreFilter {
.map((p) => p.trim())
.filter((p) => p !== '' && !p.startsWith('#'));
if (patterns.length > 0) {
- console.log(
+ // 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}`,
);
}