mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-12 19:42:20 +00:00
JENKINS-33828 - setup wizard was modifying the recommended plugin list
due to not returning a copy
This commit is contained in:
1 parent
6219c8f9fd
commit
397ab3e2ca
1 file changed
+1
-1
@@ -46,7 +46,7 @@ exports.pluginNames = function() {
|
||||
* @returns The subset of plugins (subset of the plugin list) that are recommended by default.
|
||||
*/
|
||||
exports.recommendedPluginNames = function() {
|
||||
return plugins.recommendedPlugins;
|
||||
return plugins.recommendedPlugins.slice(); // copy this
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user