summaryrefslogtreecommitdiffstats
path: root/lib/plugin.js
diff options
context:
space:
mode:
authorcreynders <creynders@users.noreply.github.com>2015-05-04 13:16:47 +0200
committercreynders <creynders@users.noreply.github.com>2015-05-04 13:16:47 +0200
commitdc4d2a17311c6c0f4bf9c6158c7cc3170c4742a7 (patch)
tree4996ffa0a02ad9d681d287b41369435b1ba0b22b /lib/plugin.js
parent2523925915ee7176b417d307caa8c37393f2c3e6 (diff)
downloadgitbook-dc4d2a17311c6c0f4bf9c6158c7cc3170c4742a7.zip
gitbook-dc4d2a17311c6c0f4bf9c6158c7cc3170c4742a7.tar.gz
gitbook-dc4d2a17311c6c0f4bf9c6158c7cc3170c4742a7.tar.bz2
Fix typo in warning in `lib/plugin`
Diffstat (limited to 'lib/plugin.js')
-rw-r--r--lib/plugin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugin.js b/lib/plugin.js
index 11298fc..a7a29b9 100644
--- a/lib/plugin.js
+++ b/lib/plugin.js
@@ -155,7 +155,7 @@ Plugin.prototype.callHook = function(name, data) {
if (!hookFunc) return Q(data);
this.book.log.debug.ln("call hook", name);
- if (!_.contains(Plugin.HOOKS, name)) this.book.log.warn.ln("hook '"+name+"' used by plugin '"+this.name+"' is deprecated, and will be remove in the coming versions");
+ if (!_.contains(Plugin.HOOKS, name)) this.book.log.warn.ln("hook '"+name+"' used by plugin '"+this.name+"' is deprecated, and will be removed in the coming versions");
return Q()
.then(function() {