File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
src/shared/java/org/truffleruby/shared Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,11 @@ public static String getVersionString(String implementationName) {
34
34
}
35
35
36
36
return String .format (
37
- "%s%s %s, like ruby %s, %s %s [%s-%s]" ,
37
+ "%s%s %s%s , like ruby %s, %s %s [%s-%s]" ,
38
38
ENGINE_ID ,
39
39
nameExtra ,
40
40
getEngineVersion (),
41
+ BuildInformationImpl .INSTANCE .isDirty () ? "*" : "" ,
41
42
LANGUAGE_VERSION ,
42
43
implementationName ,
43
44
ImageInfo .inImageCode () ? "Native" : "JVM" ,
@@ -49,12 +50,7 @@ public static String getEngineVersion() {
49
50
// The property cannot be read in a static initializer, it's set later
50
51
final String systemVersion = System .getProperty ("org.graalvm.version" );
51
52
52
- final String revisionString ;
53
- if (BuildInformationImpl .INSTANCE .isDirty ()) {
54
- revisionString = BuildInformationImpl .INSTANCE .getShortRevision () + "*" ;
55
- } else {
56
- revisionString = BuildInformationImpl .INSTANCE .getShortRevision ();
57
- }
53
+ final String revisionString = BuildInformationImpl .INSTANCE .getShortRevision ();
58
54
59
55
// No version information, or just "dev" - use 0.0-commit
60
56
if (systemVersion == null || systemVersion .equals ("dev" )) {
You can’t perform that action at this time.
0 commit comments