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( ...@@ -101,15 +101,18 @@ async function fetchManagerUpdates(
fetchManagerPackagerFileUpdates(config, managerConfig, pFile) fetchManagerPackagerFileUpdates(config, managerConfig, pFile)
); );
await pAll(queue, { concurrency: 5 }); await pAll(queue, { concurrency: 5 });
logger.debug({ manager }, 'fetchManagerUpdates finished');
} }
export async function fetchUpdates( export async function fetchUpdates(
config: RenovateConfig, config: RenovateConfig,
packageFiles: Record<string, PackageFile[]> packageFiles: Record<string, PackageFile[]>
): Promise<void> { ): Promise<void> {
logger.debug(`manager.fetchUpdates()`); const managers = Object.keys(packageFiles);
const allManagerJobs = Object.keys(packageFiles).map(manager => logger.debug({ managers }, `process.fetchUpdates()`);
const allManagerJobs = managers.map(manager =>
fetchManagerUpdates(config, packageFiles, manager) fetchManagerUpdates(config, packageFiles, manager)
); );
await Promise.all(allManagerJobs); 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