fix: slugify function

This commit is contained in:
Inian committed 2023-04-10 11:54:44 +08:00
1 parent 54f8ab0fd8
commit 65ad033e52
1 file changed
+1
+1
View File
@@ -2,6 +2,7 @@ import * as _ from 'lodash'
import * as fs from 'fs'
export const slugify = (text: string) => {
if (!text) return ''
return text
.toString()
.toLowerCase()