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

update read_build_json_object_from_env

This commit is contained in:
2019-09-25 00:02:08 +08:00
parent 0b93536d23
commit 84711f29b5

View File

@@ -318,9 +318,10 @@ fn read_build_json_object_from_env() -> Option<json::JsonValue> {
if *VERBOSE { if *VERBOSE {
print_message(MessageType::DEBUG, &format!("Use env configed build.json: {}", json::stringify(build_json_object.clone()))); print_message(MessageType::DEBUG, &format!("Use env configed build.json: {}", json::stringify(build_json_object.clone())));
} }
return Some(build_json_object); Some(build_json_object)
} else {
None
} }
None
} }
fn read_build_json_object() -> Option<json::JsonValue> { fn read_build_json_object() -> Option<json::JsonValue> {