Skip to content

Commit

Permalink
update find_build_json_in_current
Browse files Browse the repository at this point in the history
  • Loading branch information
jht5945 committed Aug 18, 2019
1 parent 6f3fc1d commit d113263
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/build_json.rs
Expand Up @@ -59,9 +59,10 @@ pub fn find_build_json_in_current() -> Option<String> {
let p_build_json = &format!("{}/{}", path.to_str()?, BUILD_JSON);
let path_build_json = Path::new(p_build_json);
if path_build_json.exists() {
return Some(p_build_json.to_string());
Some(p_build_json.to_string())
} else {
None
}
None
}

pub fn find_build_json_in_parents() -> Option<String> {
Expand Down

0 comments on commit d113263

Please sign in to comment.