mirror of
https://github.com/edoardottt/cariddi.git
synced 2026-09-09 19:27:47 +02:00
fix boolean flag
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user