Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
  • Loading branch information
rarkins and HonkingGoose authored Jun 17, 2024
1 parent 1c5d89f commit fb66f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/workers/repository/dependency-dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,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 deprecations');
logger.debug({ packageFiles }, 'Checking packageFiles for deprecated packages');
for (const [manager, fileNames] of Object.entries(packageFiles)) {
for (const fileName of fileNames) {
for (const dep of fileName.deps) {
Expand Down Expand Up @@ -268,7 +268,7 @@ export async function ensureDependencyDashboard(

if (hasDeprecations) {
issueBody += '> ⚠ **Warning**\n> \n';
issueBody += 'The following dependencies are deprecated:\n\n';
issueBody += 'These dependencies are deprecated:\n\n';
issueBody += '| Datasource | Name | Replacement PR? |\n';
issueBody += '|------------|------|--------------|\n';
for (const manager of Object.keys(deprecatedPackages).sort()) {
Expand Down

0 comments on commit fb66f81

Please sign in to comment.