Update packages/core/src/utils/planUtils.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
1668e0e1ce
commit
214a44ab89
@ -34,7 +34,7 @@ export async function validatePlanPath(
|
||||
plansDir: string,
|
||||
): Promise<string | null> {
|
||||
const safeFilename = path.basename(planPath);
|
||||
const resolvedPath = path.resolve(plansDir, safeFilename);
|
||||
const resolvedPath = path.join(plansDir, safeFilename);
|
||||
const realPath = resolveToRealPath(resolvedPath);
|
||||
const realPlansDir = resolveToRealPath(plansDir);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user