[Base] Make getting GitHub API info async
This commit is contained in:
parent
3e86694f00
commit
85365c8ace
|
@ -124,8 +124,8 @@ for (const parentRepo of ModuleRepos) {
|
|||
continue;
|
||||
}
|
||||
|
||||
const githubInfo = await getGithubInfo(repo[0]);
|
||||
|
||||
let githubInfo = getGithubInfo(repo[0]);
|
||||
|
||||
// console.log(repo);
|
||||
|
||||
const url = `https://github.com/${repo[0]}.git`;
|
||||
|
@ -181,6 +181,8 @@ for (const parentRepo of ModuleRepos) {
|
|||
|
||||
const jsHash = createHash('sha512').update(jsCode).digest('hex');
|
||||
|
||||
githubInfo = await githubInfo; // GitHub info is gotten async during other stuff to reduce time
|
||||
|
||||
const manifestJson = {
|
||||
name: manifest.name,
|
||||
description: manifest.description,
|
||||
|
|
Loading…
Reference in New Issue