summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/gitIgnoreParser.ts
diff options
context:
space:
mode:
authorAllen Hutchison <[email protected]>2025-06-18 11:40:15 -0700
committerGitHub <[email protected]>2025-06-18 11:40:15 -0700
commitfbc79c34c9eb05dcefa4618a6863360ec2b46277 (patch)
tree724cec98a05f58eff4cc7b79ba1cfb8f02c6d55d /packages/core/src/utils/gitIgnoreParser.ts
parent589a7b59c61f0477196ff3c4eec59418367387b4 (diff)
Fix noise in headless mode on STDOUT (#1184)
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}`,
);
}