mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-29 18:30:05 +08:00
update main.rs
This commit is contained in:
@@ -243,7 +243,7 @@ fn read_build_json_object() -> Option<json::JsonValue> {
|
|||||||
match json::parse(&build_json_content) {
|
match json::parse(&build_json_content) {
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
print_message(MessageType::ERROR, &format!("Parse JSON failed: {}", err));
|
print_message(MessageType::ERROR, &format!("Parse JSON failed: {}", err));
|
||||||
return None;
|
None
|
||||||
},
|
},
|
||||||
Ok(object) => Some(object),
|
Ok(object) => Some(object),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user