#!/usr/bin/env bash
# Workaround: cargo-audit doesn't support CVSS 4.0 yet
# Try to run audit, but if it fails due to CVSS 4.0 parsing, skip it
# Note: cargo-audit provides 'cargo audit' as a subcommand when installed
audit_output= || {
exit_code=
# Check if the error is specifically about CVSS 4.0
if | ; then
else
# Some other error occurred - show the output and exit with error
fi
}