Skip to content

Commit

Permalink
Don't allow empty versions
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Ruesga <[email protected]>
  • Loading branch information
jruesga committed Apr 7, 2019
1 parent 93510a6 commit 2a204e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public double getVersion() {
}

public boolean isDevelopmentVersion() {
return major == 0 && minor == 0;
return major == 0 && minor == 0 && !build.isEmpty();
}

public ServerVersion createDevelopmentVersion() {
Expand Down

0 comments on commit 2a204e0

Please sign in to comment.