Minor improvments.

This commit is contained in:
Ell committed 2023-04-24 20:34:17 +05:00
1 parent 60eb453aad
commit 9f238fa464
3 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ pub fn clone_repo(dir: &Path, url: &str) -> anyhow::Result<()> {
let res = cmd.arg("clone").arg(url).arg(dir_name).output();
if let Err(err) = res {
if ErrorKind::NotFound == err.kind() {
log::error!("Git program not found. Hint: Install git or check $PATH.");
log::warn!("Git program not found. Hint: Install git or check $PATH.");
return Err(err.into());
}
}