refactor: drop key after decrypt

This commit is contained in:
Rhys Arkins 2018-05-09 13:43:23 +02:00
parent 2ebc0b7718
commit 407f8fc576

View file

@ -116,6 +116,7 @@ async function mergeRenovateConfig(config) {
await presets.resolveConfigPresets(decryptedConfig), await presets.resolveConfigPresets(decryptedConfig),
config.privateKey config.privateKey
); );
delete resolvedConfig.privateKey;
logger.trace({ config: resolvedConfig }, 'resolved config'); logger.trace({ config: resolvedConfig }, 'resolved config');
returnConfig = mergeChildConfig(returnConfig, resolvedConfig); returnConfig = mergeChildConfig(returnConfig, resolvedConfig);
returnConfig.renovateJsonPresent = true; returnConfig.renovateJsonPresent = true;