[Index] Fix caching errors on null objects

This commit is contained in:
Ducko 2021-06-05 20:47:51 +01:00 committed by Alyxia Sother
parent 102f7ab662
commit 41aec3cb61
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ for (const parentRepo of ModuleRepos) {
try {
if (previous.includes(repo)) {
let currentModule = currentRepoJson.modules.filter((x) => x.github.repo === repo[0]);
let currentModule = currentRepoJson.modules.filter((x) => x?.github?.repo === repo[0]);
if (currentModule.length > 1) {
const manifest = JSON.parse(readFileSync(`${cloneDir}${moduleDir}/goosemodModule.json`));