File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
cli/src/main/java/com/devonfw/tools/ide/commandlet Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
package com .devonfw .tools .ide .commandlet ;
2
2
3
+ import java .nio .file .Files ;
3
4
import java .nio .file .Path ;
4
5
5
6
import com .devonfw .tools .ide .context .IdeContext ;
@@ -42,7 +43,7 @@ private void logSettingsLegacyStatus() {
42
43
boolean hasLegacyProperties = false ;
43
44
while (variables != null ) {
44
45
Path legacyProperties = variables .getLegacyPropertiesFilePath ();
45
- if (legacyProperties != null ) {
46
+ if (legacyProperties != null && Files . exists ( legacyProperties ) ) {
46
47
hasLegacyProperties = true ;
47
48
this .context .warning ("Found legacy properties {}" , legacyProperties );
48
49
}
@@ -80,7 +81,7 @@ private void logOnlineStatus() {
80
81
this .context .warning ("You are offline. Check your internet connection and potential proxy settings." );
81
82
}
82
83
}
83
-
84
+
84
85
@ Override
85
86
public boolean isIdeRootRequired () {
86
87
You can’t perform that action at this time.
0 commit comments