Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mpkorstanje committed Apr 23, 2020
1 parent de45dda commit e9c3117
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public CommandlineOptionsParser(OutputStream outputStream) {
}

public Optional<Byte> exitStatus() {
return Optional.of(exitCode);
return Optional.ofNullable(exitCode);
}

public RuntimeOptionsBuilder parse(String... args) {
Expand Down

0 comments on commit e9c3117

Please sign in to comment.