diff --git a/lib/config/migration.js b/lib/config/migration.js index 1854374a272a65ca9f579ac395dcce01be2023c7..7d553de37f051acc2a1d9fdc3a9c4bc9aa56a057 100644 --- a/lib/config/migration.js +++ b/lib/config/migration.js @@ -393,7 +393,8 @@ function migrateConfig(config) { isMigrated = true; delete migratedConfig.raiseDeprecationWarnings; if (val === false) { - migratedConfig.suppressNotifications = migratedConfig.suppressNotifications || []; + migratedConfig.suppressNotifications = + migratedConfig.suppressNotifications || []; migratedConfig.suppressNotifications.push('deprecationWarningIssues'); } } diff --git a/test/workers/repository/process/extract-update.spec.js b/test/workers/repository/process/extract-update.spec.js index 15c30e79e7ad85c16140de35d39f23e3d80b4404..3dc4e18dafc62c924c59c6a1bfded3ab90ab64d0 100644 --- a/test/workers/repository/process/extract-update.spec.js +++ b/test/workers/repository/process/extract-update.spec.js @@ -16,7 +16,7 @@ describe('workers/repository/process/extract-update', () => { it('runs', async () => { const config = { repoIsOnboarded: true, - suppressNotifications: ['deprecationWarningIssues'] + suppressNotifications: ['deprecationWarningIssues'], }; await extractAndUpdate(config); });