mirror of
https://github.com/securego/gosec.git
synced 2025-03-17 20:57:54 +02:00
Fix lint warning
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
This commit is contained in:
parent
45bf9a6095
commit
845483e0b1
@ -300,7 +300,7 @@ func exit(issues []*gosec.Issue, errors map[string][]gosec.Error, noFail bool) {
|
|||||||
nsi++
|
nsi++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nsi > 0 || len(errors) > 0) && !*flagNoFail {
|
if (nsi > 0 || len(errors) > 0) && !noFail {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user