We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa6431 commit bd520daCopy full SHA for bd520da
src/processor/java/org/truffleruby/processor/BuildInformationProcessor.java
@@ -59,7 +59,7 @@ public synchronized void init(ProcessingEnvironment env) {
59
buildName = System.getenv("TRUFFLERUBY_BUILD_NAME");
60
fullRevision = runCommand("git rev-parse HEAD");
61
shortRevision = fullRevision.substring(0, 8);
62
- isDirty = !runCommand("git status --porcelain").isBlank();
+ isDirty = runCommand("git status --porcelain") != null;
63
compileDate = runCommand("git log -1 --date=short --pretty=format:%cd");
64
copyrightYear = Integer.parseInt(compileDate.split("\\-")[0]);
65
kernelMajorVersion = findKernelMajorVersion();
0 commit comments