diff --git a/scripts/generate-related/compute-embeddings.js b/scripts/generate-related/compute-embeddings.js index 1d905e3a3e..8445b779a0 100644 --- a/scripts/generate-related/compute-embeddings.js +++ b/scripts/generate-related/compute-embeddings.js @@ -8,7 +8,7 @@ const { markdownToTxt } = require("markdown-to-txt"); const outputPath = './scripts/generate-related/data'; if (!fs.existsSync(outputPath)) fs.mkdirSync(outputPath); - const paths = await glob('./_posts/**/20{[1][3-9],[2][0-3]}-*.{md,markdown,html}').then((paths) => { + const paths = await glob('./_posts/**/20{[1][3-9],[2][0-9]}-*.{md,markdown,html}').then((paths) => { return paths; });