Skip to content

Commit

Permalink
switch to products
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed Feb 2, 2022
1 parent 0a3a29a commit 823b9c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _plugins/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
})

0 comments on commit 823b9c8

Please sign in to comment.