Connect, collaborate, and grow with a community of TypeScript developers
add '.' regex replace (#980)
Maxwell DeMaioe527bc480ca6
diff --git a/packages/db/mocks/challenges.mock.ts b/packages/db/mocks/challenges.mock.tsindex 0d598456..acde4ec5 100644--- a/packages/db/mocks/challenges.mock.ts+++ b/packages/db/mocks/challenges.mock.ts@@ -4,7 +4,7 @@ import { resolve } from 'node:path';import { simpleGit } from 'simple-git';import { parse } from 'yaml';-const slugify = (str: string) => str.toLowerCase().replace(/\s/g, '-');+const slugify = (str: string) => str.toLowerCase().replace(/\s/g, '-').replace(/\./g, '-');export interface InfoFile {title: string;author: {