[chore] - fix import name clashes (#2143)

* fix import name clashes

* fix missing var
This commit is contained in:
ahrav
2023-12-01 06:53:15 -08:00
committed by GitHub
parent e7ccfc2f4c
commit 52ffab1034
9 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ func main() {
selectedScanners := map[string]detectors.Detector{}
allScanners := getAllScanners()
decoders := decoders.DefaultDecoders()
allDecoders := decoders.DefaultDecoders()
input := strings.ToLower(*scanCmdDetector)
if input == "all" {
@@ -121,7 +121,7 @@ func main() {
for chunk := range chunksChan {
for name, scanner := range selectedScanners {
for _, dec := range decoders {
for _, dec := range allDecoders {
decoded := dec.FromChunk(&sources.Chunk{Data: chunk.Data})
if decoded != nil {
foundKeyword := false