From 3e52b5a9f4d116fe24d205ccee68ca5f4a89b27c Mon Sep 17 00:00:00 2001 From: Luk Date: Thu, 8 May 2025 15:14:14 +0800 Subject: [PATCH] bugfix in 'summarize_story' --- tool_core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool_core.js b/tool_core.js index e1b41fb..96ff142 100644 --- a/tool_core.js +++ b/tool_core.js @@ -367,11 +367,11 @@ module.exports = { } else if (linkTarget) { summary.linkCount++ } else { - summary.untype++ + summary.untypeCount++ } return summary }, - { textLength: 0, wordCount: 0, imageCount: 0, videoCount: 0, file: 0, link: 0, untype: 0 } + { textLength: 0, wordCount: 0, imageCount: 0, videoCount: 0, fileCount: 0, linkCount: 0, untypeCount: 0 } ) },