From 54c12fea89198ad6582529cf7bfd6c7ff6f92ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Tue, 13 Oct 2015 15:05:46 +0200 Subject: [PATCH] Set default config for all plugins --- lib/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugin.js b/lib/plugin.js index db88d5422..b4d4aa14b 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -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