Skip to content

Commit

Permalink
Add logging for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LordKa0S committed Jul 21, 2021
1 parent 34a6e9f commit f243f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/md-to-partials.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ marked.setOptions({

const fileNames = await readdir(mdDirPath);
fileNames.forEach(async fileName => {
console.log(`Processing ${fileName}`);
const md = await readFile(join(mdDirPath, fileName), "utf8");
const html = marked(md);
writeFile(join(genPartialsPath, fileName.replace("md", "hbs")), html);
Expand Down

0 comments on commit f243f86

Please sign in to comment.