diff --git a/scripts/commit-msg.crs b/scripts/commit-msg.crs index a873246..f6b52d4 100755 --- a/scripts/commit-msg.crs +++ b/scripts/commit-msg.crs @@ -29,6 +29,9 @@ fn main() { print_ok("Commit message rule matches"); } else { print_info(&format!(r#"Please follow the commit spec: +Format: (): + is optional + feat: add hat wobble ^--^ ^------------^ | | @@ -45,7 +48,8 @@ test : adding missing tests, refactoring tests; no production code change chore : updating grunt tasks etc; no production code change Reference: {}https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716{} -"#, UNDER, END)); +or mirror: {}https://hatter.ink/wiki/view_raw.action?__access_token=PUBLIC&id=42{} +"#, UNDER, END, UNDER, END)); exit_with_error_message("Commit message rule is NOT matched"); } }