Added more runs, prettier formatting

This commit is contained in:
Firq 2024-01-02 23:54:49 +01:00
parent 7fe9e8c25f
commit 04ec083b19
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
19 changed files with 185 additions and 65 deletions
src/utils

View file

@ -1,3 +1,3 @@
export function findSlug(filepath: string) {
return filepath.match(/(?:.*[\\/])(.+)(?:\.json)/)?.[1]
}
return filepath.match(/(?:.*[\\/])(.+)(?:\.json)/)?.[1]
}