summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-24 14:06:56 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-24 14:06:56 +0100
commit6faa469bf58143db0ee95b25244b8e4b91e757a6 (patch)
tree76f1d454e73fa0d769d49f778158599c3fa923a6 /lib/plugins
parenteeefac49646447bb2f57a57eea64e469d660b8d0 (diff)
downloadgitbook-6faa469bf58143db0ee95b25244b8e4b91e757a6.zip
gitbook-6faa469bf58143db0ee95b25244b8e4b91e757a6.tar.gz
gitbook-6faa469bf58143db0ee95b25244b8e4b91e757a6.tar.bz2
Fix install command: load config before running install
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/registry.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/registry.js b/lib/plugins/registry.js
index 3fa532c..837c9b5 100644
--- a/lib/plugins/registry.js
+++ b/lib/plugins/registry.js
@@ -100,7 +100,7 @@ function installPlugin(book, plugin, version) {
});
})
.then(function() {
- book.log.info.ok('plugin "' + plugin.name + '" installed with success');
+ book.log.info.ok('plugin "' + plugin + '" installed with success');
});
}