mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
skip windowS
This commit is contained in:
1 parent
e0ea9cefde
commit
d5e7364bcf
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user