diff --git a/src/index.js b/src/index.js index 0ea5d39..393e39a 100644 --- a/src/index.js +++ b/src/index.js @@ -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,