Skip to content

Commit

Permalink
refactor: Initialize caches before repository init (#27897)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Mar 13, 2024
1 parent 291defc commit 06d751e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers/repository/init/index.ts
Expand Up @@ -48,8 +48,8 @@ export async function initRepo(
let config: RenovateConfig = initializeConfig(config_);
await resetCaches();
logger.once.reset();
config = await initApis(config);
await initializeCaches(config as WorkerPlatformConfig);
config = await initApis(config);
config = await getRepoConfig(config);
setRepositoryLogLevelRemaps(config.logLevelRemap);
checkIfConfigured(config);
Expand Down

0 comments on commit 06d751e

Please sign in to comment.