diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-02-22 13:15:33 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-02-22 13:16:47 -0400 |
commit | f21883e743670dc727d3644b920319060ccb5bee (patch) | |
tree | 6d38e136a708627a71b8c01cb03265873b525766 /src/upd8.js | |
parent | adb41fa1c75de3967b7016e63edd20f149d74d16 (diff) |
upd8: don't log stats for present but empty thing data
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 4 |
1 files changed, 4 insertions, 0 deletions
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))}`; } |