1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Only report bad directories in listing check only once.

This commit is contained in:
Sascha L. Teichmann 2022-07-18 10:27:59 +02:00
parent 324de3abca
commit 332f0b2711
2 changed files with 14 additions and 2 deletions

View file

@ -873,8 +873,10 @@ func (p *processor) checkListing(string) error {
var unlisted []string
badDirs := map[string]struct{}{}
for f := range p.alreadyChecked {
found, err := pgs.listed(f, p)
found, err := pgs.listed(f, p, badDirs)
if err != nil && err != errContinue {
return err
}