1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-27 17:20:06 +08:00

add jdk path match verbose outputs

This commit is contained in:
2019-08-09 01:27:40 +08:00
parent c986f675f8
commit b3a208d4ac

View File

@@ -109,6 +109,9 @@ pub fn get_local_java_home(version: &str) -> Option<String> {
matched_path = p;
}
if matched_path != "" {
if *VERBOSE {
print_message(MessageType::DEBUG, &format!("Matched JDK path found: {}", matched_path));
}
if local_util::is_path_exists(matched_path, "Contents/Home") {
return Some(format!("{}/{}", matched_path, "Contents/Home"));
} else {