diff --git a/lib/config/presets.js b/lib/config/presets.js index fa3a747e7f92d14f655d8a6e7eb04fc6a9ad4bb9..0084342d13a7bd9af68a618b0f69959e370c1292 100644 --- a/lib/config/presets.js +++ b/lib/config/presets.js @@ -61,6 +61,14 @@ async function resolveConfigPresets(inputConfig, existingPresets = []) { fetchedPreset, existingPresets.concat([preset]) ); + // istanbul ignore if + if ( + inputConfig && + inputConfig.ignoreDeps && + inputConfig.ignoreDeps.length === 0 + ) { + delete presetConfig.description; + } config = configParser.mergeChildConfig(config, presetConfig); } }