You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/05/01 15:59:14 UTC
[plc4x] 01/02: - Made the OKs appear alligned with the rest.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit a1fe24cae0c297e3f4f92d56de2a0f473d008149
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri May 1 17:55:41 2020 +0200
- Made the OKs appear alligned with the rest.
---
src/main/script/prerequisiteCheck.groovy | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/script/prerequisiteCheck.groovy b/src/main/script/prerequisiteCheck.groovy
index 4ef1424..6ae5d01 100644
--- a/src/main/script/prerequisiteCheck.groovy
+++ b/src/main/script/prerequisiteCheck.groovy
@@ -34,10 +34,10 @@ def checkVersionAtLeast(String current, String minimum) {
def currentSegment = currentSegments[i].toInteger()
def minimumSegment = minimumSegments[i].toInteger()
if(currentSegment < minimumSegment) {
- println current.padRight(14) + "FAILED (required min " + minimum + " but got " + current + ")"
+ println current.padRight(14) + " FAILED (required min " + minimum + " but got " + current + ")"
return false
} else if(currentSegment > minimumSegment) {
- println current.padRight(14) + "OK"
+ println current.padRight(14) + " OK"
return true
}
}
@@ -58,10 +58,10 @@ def checkVersionAtMost(String current, String maximum) {
def currentSegment = currentSegments[i].toInteger()
def maximumSegment = maximumSegments[i].toInteger()
if(currentSegment > maximumSegment) {
- println current.padRight(14) + "FAILED (required max " + maximum + " but got " + current + ")"
+ println current.padRight(14) + " FAILED (required max " + maximum + " but got " + current + ")"
return false
} else if(currentSegment < maximumSegment) {
- println current.padRight(14) + "OK"
+ println current.padRight(14) + " OK"
return true
}
}