mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
Disable workspace settings when starting GCLI in the home directory. (#19034)
This commit is contained in:
@@ -797,11 +797,11 @@ export function loadSettings(
|
|||||||
readOnly: false,
|
readOnly: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: workspaceSettingsPath,
|
path: realWorkspaceDir === realHomeDir ? '' : workspaceSettingsPath,
|
||||||
settings: workspaceSettings,
|
settings: workspaceSettings,
|
||||||
originalSettings: workspaceOriginalSettings,
|
originalSettings: workspaceOriginalSettings,
|
||||||
rawJson: workspaceResult.rawJson,
|
rawJson: workspaceResult.rawJson,
|
||||||
readOnly: false,
|
readOnly: realWorkspaceDir === realHomeDir,
|
||||||
},
|
},
|
||||||
isTrusted,
|
isTrusted,
|
||||||
settingsErrors,
|
settingsErrors,
|
||||||
|
|||||||
Reference in New Issue
Block a user