Skip to content

Commit

Permalink
moved log line so a null value won't display it (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbee authored Apr 22, 2021
1 parent 20a28d7 commit b63e036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/openjfx/JavaFXBaseMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ CommandLine getExecutablePath(String executable, Map<String, String> enviro, Fil

if (exec == null && toolchainManager != null) {
Toolchain toolchain = toolchainManager.getToolchainFromBuildContext("jdk", session);
getLog().info("Toolchain in javafx-maven-plugin " + toolchain);
if (toolchain != null) {
getLog().info("Toolchain in javafx-maven-plugin " + toolchain);
exec = toolchain.findTool("java");
getLog().debug("Tool in toolchain in javafx-maven-plugin " + exec);
}
Expand Down

0 comments on commit b63e036

Please sign in to comment.