Skip to content

Commit

Permalink
simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoAtGit committed Jan 16, 2024
1 parent 62f9d03 commit d6fd490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/inspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ func (c *Inspector) DecodeQueryResults(
if aux {
failedDetectLine = aux
}
if vulnerability != nil && aux == false {
if vulnerability != nil && !aux {
vulnerabilities = append(vulnerabilities, *vulnerability)
}
}
Expand Down

0 comments on commit d6fd490

Please sign in to comment.