mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-09 01:56:03 +00:00
[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:
2 files changed
+8
-1
No files matched your search
@@ -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-", "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user