[JENKINS-68801] Fix for Functions#extractPluginNameFromIconSrc (#6902)

Co-authored-by: Temirlan Dyussyumbayev <bzzitsme@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
authored and GitHub committed 2022-08-01 19:45:35 -07:00
1 parent 4a3b358ca2
commit 83bf69758c
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -2341,7 +2341,7 @@ public class Functions {
String[] arr = iconSrc.split(" ");
for (String element : arr) {
if (element.startsWith("plugin-")) {
return element.replace("plugin-", "");
return element.replaceFirst("plugin-", "");
}
}