From dc4d2a17311c6c0f4bf9c6158c7cc3170c4742a7 Mon Sep 17 00:00:00 2001 From: creynders Date: Mon, 4 May 2015 13:16:47 +0200 Subject: [PATCH] Fix typo in warning in `lib/plugin` --- lib/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugin.js b/lib/plugin.js index 11298fcc9..a7a29b99f 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() {