diff options
Diffstat (limited to 'upd8.js')
-rwxr-xr-x | upd8.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/upd8.js b/upd8.js index 130f6067..e53da22f 100755 --- a/upd8.js +++ b/upd8.js @@ -3197,6 +3197,10 @@ function getWordCount(str) { } function writeCommentaryPages() { + if (!filterAlbumsByCommentary().length) { + return; + } + return progressPromiseAll('Writing commentary pages.', queue([ writeCommentaryIndex, ...filterAlbumsByCommentary().map(curry(writeAlbumCommentaryPage)) |