diff --git a/package-lock.json b/package-lock.json index d514a3d..6ad3bd1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10782,4 +10782,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/utils/frontmatter.ts b/src/utils/frontmatter.ts index ae80259..bf33632 100644 --- a/src/utils/frontmatter.ts +++ b/src/utils/frontmatter.ts @@ -8,7 +8,7 @@ export const readingTimeRemarkPlugin: RemarkPlugin = () => { const textOnPage = toString(tree); const readingTime = Math.ceil(getReadingTime(textOnPage).minutes); - if (typeof file?.data?.astro?.frontmatter !== "undefined") { + if (typeof file?.data?.astro?.frontmatter !== 'undefined') { file.data.astro.frontmatter.readingTime = readingTime; } };