Skip to main content

exit_code

Function exit_code 

Source
pub fn exit_code(findings: &[Finding], gate: bool) -> i32
Expand description

Returns 2 if gate and findings is non-empty, else 0.