From 16c755e8682dc734728ec9700fa1c59341671176 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Wed, 5 Jun 2024 23:20:22 -0500 Subject: [PATCH] Debugging statements --- build_garden.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_garden.js b/build_garden.js index 1ef23e10..ea42e0e2 100644 --- a/build_garden.js +++ b/build_garden.js @@ -195,9 +195,11 @@ function toSlug(string) { fs.mkdirSync("./site/changelog"); const { stdout } = await exec('git log --after="2024-06-03T0:0:0+0000" --pretty=%H site/garden'); + console.log(stdout); const entries = await Promise.all(stdout.split("\n").filter(p => p).map(hash => new Promise(async (resolve) => { const { stdout: title } = await exec(`git show --quiet --format=%s ${hash}`); const { stdout: time } = await exec(`git show --quiet --format=%as ${hash}`); + console.log(">", hash, title, time) let { stdout: changes } = await exec(`git show --format="" --stat=100 --relative ${hash} .`, { cwd: 'site/garden' }); changes = changes.replaceAll(/\/index.md/g, '');