Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 397ab3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion war/src/main/js/api/pluginManager.js
Expand Up @@ -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
};

/**
Expand Down

0 comments on commit 397ab3e

Please sign in to comment.