We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eabb513 + f521629 commit b051962Copy full SHA for b051962
1 file changed
internal/runbits/dependencies/changesummary.go
@@ -68,6 +68,8 @@ func OutputChangeSummary(out output.Outputer, newBuildPlan *buildplan.BuildPlan,
68
69
dependencies = sliceutils.UniqueByProperty(dependencies, func(i *buildplan.Ingredient) any { return i.IngredientID })
70
directDependencies = sliceutils.UniqueByProperty(directDependencies, func(i *buildplan.Ingredient) any { return i.IngredientID })
71
+ // Duplicate entries may occur when multiple artifacts share common dependencies.
72
+ addedLocale = sliceutils.Unique(addedLocale)
73
commonDependencies := directDependencies.CommonRuntimeDependencies().ToIDMap()
74
numIndirect := len(dependencies) - len(directDependencies) - len(commonDependencies)
75
0 commit comments