diff --git a/lib/api.js b/lib/api.js index b2cc72b..94a51e5 100644 --- a/lib/api.js +++ b/lib/api.js @@ -38,7 +38,7 @@ api.create = function create(Server, opts) { [ "Cannot find the " + req + " API module.", "You may be able to install it: `npm install " + req + "`" - ].forEach(_.arity(Logger.log, 1)); + ].forEach(Logger.log); throw new Error("Missing API plugin - cannot proceed"); }