Zach 9 месяцев назад
Родитель
Сommit
d5e7364bcf
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      detect/directory.go

+ 2 - 2
detect/directory.go

@@ -42,8 +42,8 @@ func (d *Detector) detectScanTarget(scanTarget sources.ScanTarget) error {
 	logger := logging.With().Str("path", display).Logger()
 	logger.Trace().Msg("Scanning path")
 
-	// --- Archive branch: extract and reschedule children ---
-	if isArchive(scanTarget.Path) {
+	// skipping windows archives for now
+	if isArchive(scanTarget.Path) && !isWindows {
 		logger.Debug().Msg("Found archive")
 
 		targets, tmpArchiveDir, err := extractArchive(scanTarget.Path)