Skip to content

Commit 9eb8d46

Browse files
authored
#213: fix init context npe (#214)
* #213: quickfix for NPE * also delete obsolete devon.properties
1 parent 4e9d541 commit 9eb8d46

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

cli/src/main/java/com/devonfw/tools/ide/cli/Ideasy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private AbstractIdeContext initContext(CliArguments arguments) {
104104
if (property instanceof FlagProperty) {
105105
((FlagProperty) property).setValue(Boolean.TRUE);
106106
} else {
107-
this.context.error("Missing value for option {}", key);
107+
System.err.println("Missing value for option " + key);
108108
}
109109
} else {
110110
property.setValueAsString(value, this.context);

cli/src/main/resources/devon.properties

-23
This file was deleted.

0 commit comments

Comments
 (0)