[JENKINS-73487] Fix Stapler exception with multiple security warnings (#9983)

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
(cherry picked from commit 5a574c9fd6)
This commit is contained in:
Daniel Beck 2024-11-28 22:52:55 +01:00 committed by Kris Stern
parent 0c9536f6ac
commit dac61d8a27
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def listWarnings(warnings, boolean core) {
}
}
}
if (fixables == warnings.size) {
if (fixables == warnings.size()) {
dd {
if (fixables == 1) {
raw(_(core ? "allFixable1Core" : "allFixable1", rootURL))