dependabot[bot]
2024-08-26 4e2aea8a5a414b3bcfac0168bea4f6afd032e8f5
quartz/plugins/transformers/description.ts
@@ -18,7 +18,7 @@
  "g",
)
export const Description: QuartzTransformerPlugin<Partial<Options> | undefined> = (userOpts) => {
export const Description: QuartzTransformerPlugin<Partial<Options>> = (userOpts) => {
  const opts = { ...defaultOptions, ...userOpts }
  return {
    name: "Description",
@@ -61,6 +61,7 @@
                const currentSentence = sentence.endsWith(".") ? sentence : sentence + "."
                finalDesc.push(currentSentence)
                currentDescriptionLength += currentSentence.length
                sentenceIdx++
              }
            }