fix(logs): don't log all packageFiles when checking for deprecated (#32563)

This commit is contained in:
Rhys Arkins 2024-11-15 18:13:22 +01:00 committed by GitHub
parent a1c5150977
commit a413b758fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -249,10 +249,7 @@ export async function ensureDependencyDashboard(
// Check packageFiles for any deprecations
let hasDeprecations = false;
const deprecatedPackages: Record<string, Record<string, boolean>> = {};
logger.debug(
{ packageFiles },
'Checking packageFiles for deprecated packages',
);
logger.debug('Checking packageFiles for deprecated packages');
if (is.nonEmptyObject(packageFiles)) {
for (const [manager, fileNames] of Object.entries(packageFiles)) {
for (const fileName of fileNames) {