mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-04-21 13:37:17 +00:00
Merge 56ed89c6b1 into a38e2f0048
This commit is contained in:
commit
c4990f5a59
1 changed files with 3 additions and 1 deletions
|
|
@ -590,7 +590,9 @@ export async function loadCliConfig(
|
|||
const trimmedPath = p.trim();
|
||||
if (!trimmedPath) return false;
|
||||
try {
|
||||
return resolveToRealPath(trimmedPath) !== realCwd;
|
||||
// Safely check if paths differ, ignoring OS case insensitivity
|
||||
const realIdePath = resolveToRealPath(trimmedPath);
|
||||
return path.relative(realCwd, realIdePath) !== '';
|
||||
} catch (e) {
|
||||
debugLogger.debug(
|
||||
`[IDE] Skipping inaccessible workspace folder: ${trimmedPath} (${e instanceof Error ? e.message : String(e)})`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue