Skip to content

Commit

Permalink
fix: create property default value assignment (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
gramian authored May 21, 2024
1 parent 39e3278 commit 6841fe3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public Object setOnProperty(final Property internalProp, final CommandContext co
} else if (attrName.equalsIgnoreCase("default")) {
if (this.settingValue == null)
throw new CommandExecutionException("Default value not set");
internalProp.setDefaultValue(attrValue);
internalProp.setDefaultValue(this.settingValue.toString());
} else if (attrName.equalsIgnoreCase("regexp")) {
internalProp.setRegexp("" + attrValue);
} else {
Expand Down

0 comments on commit 6841fe3

Please sign in to comment.