Skip to content

Conversation

@Pouare514
Copy link
Contributor

No description provided.

// ❌ Code bugué (Windows incompatible)
const dir = join(context.knowledgeRoot, jsonPath).replace(/\/[^/]+$/, '');

// ✅ Code corrigé (cross-platform)
const dir = dirname(fullPath);
Normalize path separators to forward slashes for web compatibility
Normalize path separators to forward slashes for web compatibility
@sofianedjerbi
Copy link
Owner

validé par la street

@sofianedjerbi sofianedjerbi merged commit d999f6e into sofianedjerbi:main Aug 5, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants