dependabot[bot]
2024-09-25 0aacd8ed2e102d75d22b7e623e1e91ac961933a1
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++
              }
            }