Skip to content

Commit

Permalink
默认 unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Dec 3, 2024
1 parent 16f41f6 commit 2ab1b11
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/com/ghostchu/peerbanhelper/BuildMeta.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
@NoArgsConstructor
@AllArgsConstructor
public final class BuildMeta {
private String version = "unknown";
private String os;
private String branch;
private String commit;
private String abbrev;
private String compileTime;
private String version = "0.0.0";
private String os = "Unknown";
private String branch = "Unknown";
private String commit = "Unknown";
private String abbrev = "Unknown";
private String compileTime = "Unknown";

public void loadBuildMeta(YamlConfiguration configuration) {
this.version = configuration.getString("maven.version");
Expand Down

0 comments on commit 2ab1b11

Please sign in to comment.