Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/playground/nethernet' into playg…
Browse files Browse the repository at this point in the history
…round/nethernet
  • Loading branch information
Tim203 committed Aug 21, 2024
2 parents 581b001 + 39fd553 commit 1133152
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public String getVersion() {
}

public void setVersion(String version) {
// If we are given a version with a slash, we only want the last part
// EG 1.21.20/1.21.21
if (version.contains("/")) {
String[] split = version.split("/");
version = split[split.length - 1].trim();
}
this.version = version;
}

Expand Down

0 comments on commit 1133152

Please sign in to comment.