1
Fork 0
mirror of https://github.com/Steffo99/obsidian-file-index.git synced 2024-11-24 14:04:23 +00:00

Lowercase basenames

This commit is contained in:
Steffo 2023-11-06 14:34:01 +01:00
parent e031c6a819
commit b91d190094
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -61,7 +61,9 @@ export default class SteffoFileIndexPlugin extends Plugin {
} }
paths.push(file.path) paths.push(file.path)
basenames[file.basename] = file.path
const basename = file.basename.toLocaleLowerCase()
basenames[basename] = file.path
} }
paths.sort() paths.sort()