[Index] Fallback to building if cache fails
This commit is contained in:
parent
1ceaa42fd1
commit
21f501ed56
|
@ -105,6 +105,7 @@ for (const parentRepo of ModuleRepos) {
|
|||
const cloneDir = `${clonesDir}/${name}`;
|
||||
let moduleDir = repo[2] || '';
|
||||
|
||||
try {
|
||||
if (previous.includes(repo)) {
|
||||
let currentModule = currentRepoJson.modules.filter((x) => x.github.repo === repo[0]);
|
||||
if (currentModule.length > 1) {
|
||||
|
@ -123,6 +124,9 @@ for (const parentRepo of ModuleRepos) {
|
|||
|
||||
continue;
|
||||
}
|
||||
} catch (e) {
|
||||
console.log('Cache fail', repo[0], e);
|
||||
}
|
||||
|
||||
let githubInfo = getGithubInfo(repo[0]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue