fix: compile
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user