diff --git a/libimagstorestdhook/src/vcs/git/config.rs b/libimagstorestdhook/src/vcs/git/config.rs index 0a9d5907..a7e262d6 100644 --- a/libimagstorestdhook/src/vcs/git/config.rs +++ b/libimagstorestdhook/src/vcs/git/config.rs @@ -13,11 +13,11 @@ pub fn commit_interactive(config: &Value) -> bool { false } -pub fn commit_message(config: &Value, action: StoreAction) -> String { +pub fn commit_message(config: &Value, action: StoreAction) -> Result { if commit_interactive(config) { unimplemented!() } else { - String::from("Dummy commit") + Ok(String::from("Dummy commit")) } }