mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Fix noise in headless mode on STDOUT (#1184)
This commit is contained in:
@@ -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}`,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user