docs(commit-msg): add comment
This commit is contained in:
@@ -4,6 +4,9 @@ use std::{ env, fs, process };
|
||||
use std::path::PathBuf;
|
||||
use std::process::Command;
|
||||
|
||||
/// Git commit message format check util
|
||||
///
|
||||
/// Commit format MUST be <type>(<scope>): subject
|
||||
fn main() {
|
||||
let arg1 = env::args().nth(1).unwrap_or_else(|| {
|
||||
exit_with_error_message("Commit message is EMPTY!");
|
||||
|
||||
Reference in New Issue
Block a user