Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/checks/duplicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function scanForDuplicates(
? `\n\n💡 To find out what depends on a specific package, run: \`${exampleCommand}\``
: '';
messages.push(
`## ⚠️ Duplicate Dependencies (threshold: ${threshold})
`## ⚠️ Duplicate Dependencies (found: ${duplicateRows.length}, threshold: ${threshold})
| 📦 Package | 📋 Versions |
| --- | --- |
Expand Down
4 changes: 2 additions & 2 deletions test/checks/__snapshots__/duplicates_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`scanForDuplicates > should report duplicates when threshold is exceeded 1`] = `
[
"## ⚠️ Duplicate Dependencies (threshold: 1)
"## ⚠️ Duplicate Dependencies (found: 1, threshold: 1)
| 📦 Package | 📋 Versions |
| --- | --- |
Expand All @@ -14,7 +14,7 @@ exports[`scanForDuplicates > should report duplicates when threshold is exceeded
exports[`scanForDuplicates > should truncate long parent paths in the report 1`] = `
[
"## ⚠️ Duplicate Dependencies (threshold: 1)
"## ⚠️ Duplicate Dependencies (found: 1, threshold: 1)
| 📦 Package | 📋 Versions |
| --- | --- |
Expand Down
Loading