mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -07:00
chore(settings): clean up comments in settings.ts (#5576)
This commit is contained in:
committed by
GitHub
parent
f2d6748432
commit
b465145229
@@ -380,7 +380,7 @@ export function loadSettings(workspaceDir: string): LoadedSettings {
|
|||||||
const settingsErrors: SettingsError[] = [];
|
const settingsErrors: SettingsError[] = [];
|
||||||
const systemSettingsPath = getSystemSettingsPath();
|
const systemSettingsPath = getSystemSettingsPath();
|
||||||
|
|
||||||
// FIX: Resolve paths to their canonical representation to handle symlinks
|
// Resolve paths to their canonical representation to handle symlinks
|
||||||
const resolvedWorkspaceDir = path.resolve(workspaceDir);
|
const resolvedWorkspaceDir = path.resolve(workspaceDir);
|
||||||
const resolvedHomeDir = path.resolve(homedir());
|
const resolvedHomeDir = path.resolve(homedir());
|
||||||
|
|
||||||
@@ -435,7 +435,6 @@ export function loadSettings(workspaceDir: string): LoadedSettings {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// This comparison is now much more reliable.
|
|
||||||
if (realWorkspaceDir !== realHomeDir) {
|
if (realWorkspaceDir !== realHomeDir) {
|
||||||
// Load workspace settings
|
// Load workspace settings
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user