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:
@@ -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> {
|
||||||
|
|||||||
Reference in New Issue
Block a user