Skip to content

Commit

Permalink
Fix log variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mklierman committed Dec 5, 2023
1 parent b8b71d2 commit f830acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validation/virustotal.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func ScanFiles(ctx context.Context, files []io.Reader, names []string) (bool, er

// Why 1? Well because some company made a shitty AI and it flags random mods.
if *target.Attributes.Stats.Malicious > 1 || *target.Attributes.Stats.Suspicious > 1 {
log.Error().Msgf("suspicious or malicious file found: %s", name)
log.Error().Msgf("suspicious or malicious file found: %s", names[i])
return false, nil
}

Expand Down

0 comments on commit f830acd

Please sign in to comment.