Skip to main content

cmd_check

Function cmd_check 

Source
pub fn cmd_check(
    config: &Config,
    result: &AnalysisResult,
    reporter: &dyn Reporter,
    writer: &mut impl Write,
    thresholds: &CheckThresholds,
) -> CliResult
Expand description

Check thresholds; returns Err(CliError::CheckFailed) if any are exceeded.