From e6a3e55c8d5dfdfece6d25b506ecbe3c8b431fde Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Wed, 4 Oct 2023 18:27:03 +0530 Subject: [PATCH] npp-sorting: fix 3.5 year old bug (return -> continue) --- reports/npp-sorting/npp-sorting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reports/npp-sorting/npp-sorting.js b/reports/npp-sorting/npp-sorting.js index 44dec7f..9dcd085 100644 --- a/reports/npp-sorting/npp-sorting.js +++ b/reports/npp-sorting/npp-sorting.js @@ -100,8 +100,8 @@ process.chdir(__dirname); log(`[+] Reading contents and descriptions: ${++pagesRead} pages read`); } if (page.missing) { - tableInfo[page.title].skip = true; // skip it and return - return; + tableInfo[page.title].skip = true; // skip it + continue; } var text = page.revisions[0].content; if (!tableInfo[page.title]) {