diff --git a/cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java b/cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java index 513b6a0b2..3f821a1fc 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java +++ b/cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java @@ -221,7 +221,7 @@ private Path findIdeRoot(Path ideHomePath) { } } 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 == null) ? "undefined" : this.ideHome.getFileName(), ideRootPath); + (ideHomePath == null) ? "undefined" : ideHomePath.getFileName(), ideRootPath); } } }