Skip to content

Commit

Permalink
Fixed initialized genconf option reinitialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Sep 15, 2023
1 parent 350543b commit 0d993a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static void initializeOptions(Generation generation) {
for (Option option : generation.getOptions()) {
if (initializedOptions.containsKey(option.getName())) {
final String initialValue = initializedOptions.remove(option.getName());
if (option.getValue() == null) {
if (option.getValue() == null || option.getValue().trim().isEmpty()) {
option.setValue(initialValue);
}
}
Expand Down

0 comments on commit 0d993a9

Please sign in to comment.