[Index] Fix caching errors on null objects
This commit is contained in:
parent
102f7ab662
commit
41aec3cb61
|
@ -107,7 +107,7 @@ for (const parentRepo of ModuleRepos) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (previous.includes(repo)) {
|
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) {
|
if (currentModule.length > 1) {
|
||||||
const manifest = JSON.parse(readFileSync(`${cloneDir}${moduleDir}/goosemodModule.json`));
|
const manifest = JSON.parse(readFileSync(`${cloneDir}${moduleDir}/goosemodModule.json`));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue