Run Prettier (npx prettier --write .)
This commit is contained in:
1 parent
55f3d824e4
commit
67acb0c494
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ export function getFiles(type) {
|
||||
const prefixPaths = path.join(root, 'data', type)
|
||||
const files = getAllFilesRecursively(prefixPaths)
|
||||
// Only want to return blog/path and ignore root
|
||||
return files.map(file => file.slice(prefixPaths.length + 1))
|
||||
return files.map((file) => file.slice(prefixPaths.length + 1))
|
||||
}
|
||||
|
||||
export function formatSlug(slug) {
|
||||
|
||||
Reference in new issue
Block a user