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