fix boolean flag

This commit is contained in:
Olivier Cervello
2023-02-03 17:54:56 +00:00
parent 4b0689bbff
commit a6b6288de6
+1 -1
View File
@@ -296,7 +296,7 @@ func New(scan *Scan) *Results {
infos = append(infos, infosSlice...)
}
}
if scan.JSON == true {
if scan.JSON {
jsonOutput, err := output.GetJsonString(
r, secrets, parameters, filetype, errors, infos,
)