1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-29 18:30:05 +08:00

update build_jsonrs

This commit is contained in:
2019-07-28 02:10:13 +08:00
parent 0290db7cfa
commit c3a34649e5

View File

@@ -52,7 +52,7 @@ pub fn create_build_json(args: &Vec<String>) {
print_message(MessageType::ERROR, &format!("Write file failed: {}, error message: {}", BUILD_JSON, err)); print_message(MessageType::ERROR, &format!("Write file failed: {}, error message: {}", BUILD_JSON, err));
} }
}; };
} }
pub fn find_build_json_in_current() -> Option<String> { pub fn find_build_json_in_current() -> Option<String> {
let path = fs::canonicalize(".").ok()?; let path = fs::canonicalize(".").ok()?;