fix: preserve original filename case in handelize (MEMORY.md not memory.md)

This commit is contained in:
Alexei Ledenev 2026-03-26 22:38:09 +02:00
parent ddecde78da
commit 72f2dd1fe5
No known key found for this signature in database
GPG Key ID: 252AC4F84DC100FA

View File

@ -1595,7 +1595,6 @@ export function handelize(path: string): string {
const result = path
.replace(/___/g, '/') // Triple underscore becomes folder separator
.toLowerCase()
.split('/')
.map((segment, idx, arr) => {
const isLastSegment = idx === arr.length - 1;