Reduce noisy logging for missing .geminiignore file. (#793)
This commit is contained in:
parent
368e9ab4d8
commit
c80ff146d2
|
@ -128,9 +128,7 @@ describe('loadGeminiIgnorePatterns', () => {
|
|||
|
||||
const patterns = loadGeminiIgnorePatterns(tempDir);
|
||||
expect(patterns).toEqual([]);
|
||||
expect(consoleLogSpy).toHaveBeenCalledWith(
|
||||
'[INFO] No .geminiignore file found. Proceeding without custom ignore patterns.',
|
||||
);
|
||||
expect(consoleLogSpy).not.toHaveBeenCalled();
|
||||
expect(mockedFsReadFileSync).toHaveBeenCalledWith(ignoreFilePath, 'utf-8');
|
||||
});
|
||||
|
||||
|
|
|
@ -51,9 +51,6 @@ export function loadGeminiIgnorePatterns(workspaceRoot: string): string[] {
|
|||
) {
|
||||
if (error.code === 'ENOENT') {
|
||||
// .geminiignore not found, which is fine.
|
||||
console.log(
|
||||
'[INFO] No .geminiignore file found. Proceeding without custom ignore patterns.',
|
||||
);
|
||||
} else {
|
||||
// Other error reading the file (e.g., permissions)
|
||||
console.warn(
|
||||
|
|
Loading…
Reference in New Issue