Skip to content

Commit

Permalink
#527: fix for NPE in findIdeRoot (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille authored Aug 8, 2024
1 parent bcb8b9f commit dd34155
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ private Path findIdeRoot(Path ideHomePath) {
ideRootPath = rootPath;
}
} else if (!ideRootPath.equals(rootPath)) {
warning("Variable IDE_ROOT is set to '{}' but for your project '{}' the path '{}' would have been expected.", rootPath, this.ideHome.getFileName(),
ideRootPath);
warning("Variable IDE_ROOT is set to '{}' but for your project '{}' the path '{}' would have been expected.", rootPath,
(this.ideHome == null) ? "undefined" : this.ideHome.getFileName(), ideRootPath);
}
}
}
Expand Down

0 comments on commit dd34155

Please sign in to comment.