Some Misc Fixes For Lists
This commit is contained in:
parent
5b3a05dbf3
commit
0f5ba83daf
2 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue