From 823b9c80e5cdbf5dfb44293147c27d1858cdca27 Mon Sep 17 00:00:00 2001 From: Nemo Date: Wed, 2 Feb 2022 19:50:22 +0530 Subject: [PATCH] switch to products --- _plugins/timeline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_plugins/timeline.js b/_plugins/timeline.js index 6949b2a5ebd..4f726ea2524 100644 --- a/_plugins/timeline.js +++ b/_plugins/timeline.js @@ -162,9 +162,9 @@ function generateToolImage(inputFile, outputDirectory) { create(frontmatter(contents).data, outputFile) } -fs.readdir('../tools', (err, files) => { +fs.readdir('../products', (err, files) => { files.forEach((file) => { console.log(file) - generateToolImage(`../tools/${file}`, '../assets/timeline') + generateToolImage(`../products/${file}`, '../assets/timeline') }) })