diff options
-rwxr-xr-x | src/upd8.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/upd8.js b/src/upd8.js index e135e056..1585fdd4 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2216,8 +2216,10 @@ async function main() { } wikiData.wikiInfo.searchDataAvailable = - webRouteSources - .some(({to}) => to[0].startsWith('searchData')); + (webRouteSources + ? webRouteSources + .some(({to}) => to[0].startsWith('searchData')) + : null); if (stepStatusSummary.performBuild.status === STATUS_NOT_APPLICABLE) { return true; |