File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
/* ******************************************************************************
2
- * Copyright (c) 2017, 2019 IBM Corp. and others
2
+ * Copyright (c) 2017, 2020 IBM Corp. and others
3
3
*
4
4
* This program and the accompanying materials are made available under
5
5
* the terms of the Eclipse Public License 2.0 which accompanies this
@@ -777,7 +777,11 @@ def setup_pull_request_single_comment(PARSED_COMMENT) {
777
777
if (LONG_PLATFORM ) {
778
778
PLATFORMS . addAll(LONG_PLATFORM )
779
779
} else {
780
- error(" Unknown PLATFORM short:'${ SHORT} '\n Expected one of:${ SHORT_NAMES} " )
780
+ def shortNamesList = []
781
+ SHORT_NAMES . each {
782
+ shortNamesList. add(it. key)
783
+ }
784
+ error(" Unknown PLATFORM short:'${ SHORT} '\n Expected one of:${ shortNamesList} " )
781
785
}
782
786
}
783
787
echo " PLATFORMS:'${ PLATFORMS} '"
You can’t perform that action at this time.
0 commit comments