1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-29 02:10:04 +08:00

update buildj

This commit is contained in:
2020-04-05 01:04:31 +08:00
parent c1fb92449e
commit 5f474c47aa
7 changed files with 52 additions and 75 deletions

View File

@@ -125,9 +125,7 @@ pub fn find_build_json_in_parents() -> Option<String> {
pub fn find_build_json() -> Option<String> {
match find_build_json_in_current() {
Some(p) => {
Some(p)
},
Some(p) => Some(p),
None => match find_build_json_in_parents() {
Some(p) => {
print_message(MessageType::WARN, &format!("Cannot find {} in current dir, find: {}", BUILD_JSON, p));