From d68ecc2710e9aefa4b2bd47b9e1ba9183b6b8325 Mon Sep 17 00:00:00 2001 From: Artem Zverev Date: Sat, 23 Mar 2024 18:33:14 +0100 Subject: [PATCH] fix blog content generation --- apps/blog/contentlayer.config.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/blog/contentlayer.config.js b/apps/blog/contentlayer.config.js index 47d29feb..fc715711 100644 --- a/apps/blog/contentlayer.config.js +++ b/apps/blog/contentlayer.config.js @@ -32,8 +32,6 @@ const extractSlug = flattenedPath => { const pathSegments = flattenedPath.split('/') const lastSegment = pathSegments.at(-1) - assert(lastSegment) - return lastSegment.split('.')[0] }