diff --git a/scripts/build-plugins-report.js b/scripts/build-plugins-report.js index 7172d9dc48..f3f1f9fa32 100755 --- a/scripts/build-plugins-report.js +++ b/scripts/build-plugins-report.js @@ -43,6 +43,13 @@ const PLUGIN_AND_MODULE_ROLES = [ 'frontend-plugin-module', ]; +const CORE_MAINTAINER_EMAILS = [ + 'ben@blam.sh', + 'freben@gmail.com', + 'poldsberg@gmail.com', + 'johan.haals@gmail.com', +]; + async function main() { const pluginsDirectory = path.resolve(rootDirectory, 'plugins'); @@ -109,14 +116,7 @@ async function main() { } // exclude core maintainers' commits - if ( - [ - 'Johan Haals ', - 'Patrik Oldsberg ', - 'Fredrik Adelöw ', - 'blam ', - ].includes(author) - ) { + if (CORE_MAINTAINER_EMAILS.some(email => author.includes(email))) { return false; }