mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-04 03:26:29 +00:00
Stop extension MCPs from hopping into settings. (#1026)
This commit is contained in:
committed by
GitHub
parent
bb67d31739
commit
a2fe3d2ad0
@@ -107,7 +107,7 @@ function loadExtension(extensionDir: string): Extension | null {
|
||||
|
||||
function getContextFileNames(config: ExtensionConfig): string[] {
|
||||
if (!config.contextFileName) {
|
||||
return ['GEMINI.md', 'gemini.md', 'Gemini.md'];
|
||||
return ['GEMINI.md'];
|
||||
} else if (!Array.isArray(config.contextFileName)) {
|
||||
return [config.contextFileName];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user