From f21883e743670dc727d3644b920319060ccb5bee Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 22 Feb 2025 13:15:33 -0400 Subject: upd8: don't log stats for present but empty thing data --- src/upd8.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/upd8.js') diff --git a/src/upd8.js b/src/upd8.js index 5589877c..93f09122 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -1480,6 +1480,10 @@ async function main() { ? prop : wikiData[prop]); + if (array && empty(array)) { + return; + } + logInfo` - ${array?.length ?? colors.red('(Missing!)')} ${colors.normal(colors.dim(label))}`; } -- cgit 1.3.0-6-gf8a5