Skip to content
Merged
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
5 changes: 3 additions & 2 deletions src/features/pkg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ export async function bundleDone(
const publintConfigs = dedupeConfigs(configs, 'publint')
const attwConfigs = dedupeConfigs(configs, 'attw')

if (publintConfigs.length > 1 || attwConfigs.length > 1) {
publintConfigs[1].logger.warn(
const duplicate = publintConfigs[1] || attwConfigs[1]
if (duplicate) {
duplicate.logger.warn(
`Multiple publint or attw configurations found for package at ${pkg.packageJsonPath}. Consider merging them for better consistency and performance.`,
)
}
Expand Down
Loading