Add default to on_failure.

main
Bauke 5 months ago
parent bff78ccc21
commit 1084bd08e2
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558

@ -12,6 +12,7 @@ pub struct PreCommit {
pub name: Option<String>,
/// What to do when the hook exits with a non-zero status code.
#[serde(default)]
pub on_failure: ExitAction,
/// Task to perform when this hook is called.

Loading…
Cancel
Save