Skip to content
Snippets Groups Projects
Commit 5167c634 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: log promised updates

parent 90defdb5
No related branches found
No related tags found
No related merge requests found
......@@ -101,15 +101,18 @@ async function fetchManagerUpdates(
fetchManagerPackagerFileUpdates(config, managerConfig, pFile)
);
await pAll(queue, { concurrency: 5 });
logger.debug({ manager }, 'fetchManagerUpdates finished');
}
export async function fetchUpdates(
config: RenovateConfig,
packageFiles: Record<string, PackageFile[]>
): Promise<void> {
logger.debug(`manager.fetchUpdates()`);
const allManagerJobs = Object.keys(packageFiles).map(manager =>
const managers = Object.keys(packageFiles);
logger.debug({ managers }, `process.fetchUpdates()`);
const allManagerJobs = managers.map(manager =>
fetchManagerUpdates(config, packageFiles, manager)
);
await Promise.all(allManagerJobs);
logger.debug('fetchUpdates complete');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment