Skip to content

Commit f35f837

Browse files
Actually save the builder (#137)
## What is the goal of this PR? Fix null pointer in transaction options that occurs because the option builder is not saved. ## What are the changes implemented in this PR? * save builder to field
1 parent 30500c1 commit f35f837

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

command/ReplCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ private Option(String name, Arg arg, String description, BiFunction<OPTIONS, Obj
407407
this.name = name;
408408
this.arg = arg;
409409
this.description = description;
410+
this.builder = builder;
410411
}
411412

412413
static Option.Core core(String name, Arg arg, String description, BiFunction<GraknOptions, Object, GraknOptions> builder) {

0 commit comments

Comments
 (0)