This commit is contained in:
2023-04-25 12:52:24 +03:00
parent 24ed847849
commit e02393298a

View File

@@ -26,7 +26,7 @@ class Platforms {
def ok = true; def ok = true;
def dn = key.toLowerCase() def dn = key.toLowerCase()
if (whiteList.size() > 0) { if (whiteList.size() > 0) {
for (l in whiteList) { whiteList.each { l ->
if (dn.indexOf(l) < 0) { if (dn.indexOf(l) < 0) {
ok = false; ok = false;
steps.print("${key} skip because of whiteList") steps.print("${key} skip because of whiteList")
@@ -34,7 +34,7 @@ class Platforms {
} }
} }
} }
for (l in blackList) { blackList.each { l ->
if (dn.indexOf(l) >= 0) { if (dn.indexOf(l) >= 0) {
ok = false; ok = false;
steps.print("${key} skip because of blackList") steps.print("${key} skip because of blackList")