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:
Adib234
2026-03-17 12:58:22 -04:00
committed by GitHub
parent 1668e0e1ce
commit 214a44ab89
+1 -1
View File
@@ -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);