Removed duplicate check for file scans
All checks were successful
/ test (push) Successful in 13s

This commit is contained in:
Eduard Urbach 2025-06-19 15:22:21 +02:00
parent 154893d9f7
commit 38bd387002
Signed by: akyoto
GPG key ID: 49226B848C78F6C8

View file

@ -110,12 +110,6 @@ func (s *scanner) queueDirectory(directory string, pkg string) {
// queueFile queues a single file to be scanned.
func (s *scanner) queueFile(file string, pkg string) {
_, loaded := s.queued.LoadOrStore(file, nil)
if loaded {
return
}
s.group.Add(1)
go func() {