feat: add format, and add mirror url
This commit is contained in:
@@ -29,6 +29,9 @@ fn main() {
|
|||||||
print_ok("Commit message rule matches");
|
print_ok("Commit message rule matches");
|
||||||
} else {
|
} else {
|
||||||
print_info(&format!(r#"Please follow the commit spec:
|
print_info(&format!(r#"Please follow the commit spec:
|
||||||
|
Format: <type>(<scope>): <subject>
|
||||||
|
<scope> is optional
|
||||||
|
|
||||||
feat: add hat wobble
|
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
|
chore : updating grunt tasks etc; no production code change
|
||||||
|
|
||||||
Reference: {}https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716{}
|
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");
|
exit_with_error_message("Commit message rule is NOT matched");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user