fix: compile

This commit is contained in:
2020-07-26 11:20:10 +08:00
parent 0a3362e847
commit 40ae1ea14e
2 changed files with 1 additions and 2 deletions

View File

@@ -15,4 +15,3 @@ reqwest = { version = "0.10", features = ["blocking", "json"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
lazy_static = "1.4.0" lazy_static = "1.4.0"

View File

@@ -9,7 +9,7 @@ pub fn get_git_base_path() -> Option<PathBuf> {
}, },
Ok(mut path) => loop { Ok(mut path) => loop {
if path.join(".git").is_dir() { if path.join(".git").is_dir() {
debug!("Found git base dir: {:?}", path) debug!("Found git base dir: {:?}", path);
return Some(path); return Some(path);
} }
if !path.pop() { if !path.pop() {