Skip to content
Permalink
Browse files

JENKINS-33828 - setup wizard was modifying the recommended plugin list

due to not returning a copy
  • Loading branch information...
kzantow committed Mar 29, 2016
1 parent 6219c8f commit 397ab3e2ca1d04cc14bd862d06dec45fcb9f85b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 war/src/main/js/api/pluginManager.js
@@ -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
};

/**

0 comments on commit 397ab3e

Please sign in to comment.
You can’t perform that action at this time.