Skip to content

Commit

Permalink
Call the unknown Neo4j Unkown and not dev
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker committed Jul 18, 2024
1 parent 8d461d4 commit 4e0aea4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static Neo4jVersion neo4jVersion() {

@VisibleForTesting
static Neo4jVersion findNeo4jVersion() {
var neo4jVersion = Objects.requireNonNullElse(Version.class.getPackage().getImplementationVersion(), "dev");
var neo4jVersion = Objects.requireNonNullElse(Version.class.getPackage().getImplementationVersion(), "Unknown");
// some versions have a build thing attached at the end
// e.g. 4.0.8,8e921029f7daebacc749034f0cb174f1f2c7a258
// This regex follows the logic from org.neo4j.kernel.internal.Version.parseReleaseVersion
Expand Down

0 comments on commit 4e0aea4

Please sign in to comment.