fix: wrong config access (#14164)

This commit is contained in:
Michael Kriese 2022-02-11 05:37:57 +01:00 committed by GitHub
parent 1f28cfd2e5
commit 8dee195d0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ export async function renovateRepository(
const errorRes = await handleError(config, err);
repoResult = processResult(config, errorRes);
}
if (localDir && !config.persistRepoData) {
if (localDir && !repoConfig.persistRepoData) {
try {
await deleteLocalFile('.');
} catch (err) /* istanbul ignore if */ {