From f5bd2d89cb4368948f0af4499edc857dc7056651 Mon Sep 17 00:00:00 2001 From: "Rasamoelina, Haja Onjatiana" <26148770+rhahao@users.noreply.github.com> Date: Sun, 8 Oct 2023 13:35:10 +0300 Subject: [PATCH] fix(module): temporarily block parsing mwb starting issue 202401 --- src/common/epub_validation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/epub_validation.js b/src/common/epub_validation.js index 7ffdb5e0..5c1b0613 100644 --- a/src/common/epub_validation.js +++ b/src/common/epub_validation.js @@ -49,6 +49,7 @@ export const isValidEPUBIssue = (input) => { const issue = +epubFilename.split('_')[2].split('.epub')[0]; if (type === 'mwb' && issue < 202207) valid = false; + if (type === 'mwb' && issue >= 202401) valid = false; if (type === 'w' && issue < 202304) valid = false; return valid;