Some Misc Fixes For Lists

This commit is contained in:
thororen1234 2025-07-26 02:28:44 -04:00
parent 5b3a05dbf3
commit 0f5ba83daf
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View file

@ -230,7 +230,7 @@ async function parseFile(fileName: string) {
.split(sep)
.join(posixSep)
.replace(/\/index\.([jt]sx?)$/, "")
.replace(/^src\/plugins\//, "");
.replace(/^src\/equicordplugins\//, "");
return [data] as const;
}

View file

@ -229,8 +229,7 @@ async function parseFile(fileName: string) {
data.filePath = posixNormalize(fileName)
.split(sep)
.join(posixSep)
.replace(/\/index\.([jt]sx?)$/, "")
.replace(/^src\/plugins\//, "");
.replace(/\/index\.([jt]sx?)$/, "");
return [data] as const;
}