mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-03 12:10:34 +00:00
Set default config for all plugins
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ Plugin.prototype.copyAssets = function(out, base) {
|
||||
|
||||
// Get config from book
|
||||
Plugin.prototype.getConfig = function() {
|
||||
return this.book.config.get('pluginsConfig.'+this.reducedName());
|
||||
return this.book.config.get('pluginsConfig.'+this.reducedName(), {});
|
||||
};
|
||||
|
||||
// Set configuration for this plugin
|
||||
|
||||
Reference in New Issue
Block a user