diff options
-rwxr-xr-x | src/upd8.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/upd8.js b/src/upd8.js index fabda27d..fdd85e22 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -448,7 +448,9 @@ async function main() { if (thumbsOnly) return; } - if (usingDefaultBuildMode) { + if (noBuild) { + logInfo`Not generating any site or page files this run (--no-build passed).`; + } else if (usingDefaultBuildMode) { logInfo`No build mode specified, using default: ${selectedBuildModeFlag}`; } else { logInfo`Using specified build mode: ${selectedBuildModeFlag}`; @@ -643,10 +645,6 @@ async function main() { logInfo`Loaded language strings: ${Object.keys(languages).join(', ')}`; - if (noBuild) { - logInfo`Not generating any site or page files this run (--no-build passed).`; - } - { const tagRefs = new Set( [...wikiData.trackData, ...wikiData.albumData] |