mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
lib/models/config.js: Fix wrong call to PluginDependency.listToArray() to PluginDependency.listFromArray()
This commit is contained in:
@@ -75,7 +75,7 @@ Config.prototype.getPluginDependencies = function() {
|
||||
@return {Config}
|
||||
*/
|
||||
Config.prototype.setPluginDependencies = function(deps) {
|
||||
var plugins = PluginDependency.listToArray(deps);
|
||||
var plugins = PluginDependency.listFromArray(deps);
|
||||
|
||||
return this.setValue('plugins', plugins);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user