_.arity call no longer necessary

This commit is contained in:
Andrew Stewart 2015-07-13 14:08:21 -07:00
parent 843e0a3217
commit 8a582fcf8d
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}