Add missing documentation.

This commit is contained in:
Bauke 2024-01-17 18:32:11 +01:00
parent d031374360
commit ba6d4fb0d1
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 0 deletions

View File

@ -6,7 +6,9 @@ use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "snake_case")]
pub enum ExitAction {
/// Regardless of the hook's exit code, allow Hooked to continue.
Continue,
/// Stop on a non-zero hook exit code.
Stop,
}