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

fix: abort if renovate config returns null

parent 94a52408
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,11 @@ async function mergeRenovateConfig(config) {
logger.info({ config: renovateJson }, 'package.json>renovate config');
} else {
const renovateConfig = await platform.getFile(configFile);
// istanbul ignore if
if (!renovateConfig) {
logger.warn('Fetching renovate config returns null');
throw new Error('registry-failure');
}
let allowDuplicateKeys = true;
let jsonValidationError = jsonValidator.validate(
renovateConfig,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment