diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/upd8.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js index 9b1f5412..e1115907 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -1107,7 +1107,11 @@ async function main() { logInfo`Loaded data and processed objects:`; logThings('albumData', 'albums'); logThings('trackData', 'tracks'); - logThings(wikiData.artistData.filter(artist => !artist.isAlias), 'artists'); + logThings( + (wikiData.artistData + ? wikiData.artistData.filter(artist => !artist.isAlias) + : null), + 'artists'); if (wikiData.flashData) { logThings('flashData', 'flashes'); logThings('flashActData', 'flash acts'); |