corgibytes / freshli-lib

A tool for collecting historical metrics about a project's dependencies
MIT License
17 stars 1 forks source link

Avoid duplicate files from being returned GetManifestFilenames #630

Open doughertym opened 1 year ago

doughertym commented 1 year ago

The current implementation of the AbstractManifestFinder.GetManifestFilenames can return the same file multiple times. The primary cause of this seems to be related to multiple IManifestFinder instance of the same type being registered more than once. Therefore, the ManifestFinderRegistry should only register an AbstractManifestFinder if it has not already been registered.