This commit is contained in:
Benjamin Toby
2025-05-12 10:47:47 +01:00
parent 07c2186b98
commit 674af34355
9 changed files with 268 additions and 231 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export default function slugify(str?: string): string {
.replace(/-{2,}/g, "-")
.replace(/^-/, "")
.replace(/-$/, "");
} catch (/** @type {any} */ error: any) {
} catch (error: any) {
console.log(`Slugify ERROR: ${error.message}`);
return "";
}