mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix: clear PackageFiles during initRepo (#15635)
This commit is contained in:
parent
0cf2ab4823
commit
7fdd9e147c
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ import { platform } from '../../../modules/platform';
|
|||
import { clone } from '../../../util/clone';
|
||||
import { setUserRepoConfig } from '../../../util/git';
|
||||
import { checkIfConfigured } from '../configured';
|
||||
import { PackageFiles } from '../package-files';
|
||||
import { initApis } from './apis';
|
||||
import { initializeCaches, resetCaches } from './cache';
|
||||
import { getRepoConfig } from './config';
|
||||
|
@ -25,6 +26,7 @@ function warnOnUnsupportedOptions(config: RenovateConfig): void {
|
|||
export async function initRepo(
|
||||
config_: RenovateConfig
|
||||
): Promise<RenovateConfig> {
|
||||
PackageFiles.clear();
|
||||
let config: RenovateConfig = initializeConfig(config_);
|
||||
await resetCaches();
|
||||
config = await initApis(config);
|
||||
|
|
Loading…
Reference in a new issue