Minor improvments.
This commit is contained in:
1 parent
60eb453aad
commit
9f238fa464
3 files changed
+13
-9
No files matched your search
+1
-1
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user