feat: add format, and add mirror url

This commit is contained in:
2020-07-12 00:36:49 +08:00
parent 410bdc03be
commit 340373f69f

View File

@@ -29,6 +29,9 @@ fn main() {
print_ok("Commit message rule matches");
} else {
print_info(&format!(r#"Please follow the commit spec:
Format: <type>(<scope>): <subject>
<scope> 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");
}
}