style(commit-msg): code style format

This commit is contained in:
2020-07-12 17:55:11 +08:00
parent 69fd44e857
commit 27ce15e61a

View File

@@ -86,7 +86,6 @@ fn install_commit_msg(force: bool) {
}));
let commit_msg_crs = home_path.join("bin").join("commit-msg.crs");
let commig_msg_exec_file = if !commit_msg_crs.exists() {
//exit_with_error_message(&format!("File {:?} NOT exists!", commit_msg_crs));
print_warn(&format!("File {:?} NOT exists!", commit_msg_crs));
PathBuf::from(env::args().next().unwrap())
} else {