diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-05-04 14:47:56 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-05-04 14:47:56 +0200 |
commit | 82f3ffad06ee417f38b7f981f669dd8bd6526faf (patch) | |
tree | 4996ffa0a02ad9d681d287b41369435b1ba0b22b | |
parent | 2523925915ee7176b417d307caa8c37393f2c3e6 (diff) | |
parent | dc4d2a17311c6c0f4bf9c6158c7cc3170c4742a7 (diff) | |
download | gitbook-82f3ffad06ee417f38b7f981f669dd8bd6526faf.zip gitbook-82f3ffad06ee417f38b7f981f669dd8bd6526faf.tar.gz gitbook-82f3ffad06ee417f38b7f981f669dd8bd6526faf.tar.bz2 |
Merge pull request #730 from creynders/patch-1
Fix typo in warning in `lib/plugin`
-rw-r--r-- | lib/plugin.js | 2 |
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() { |