_.arity call no longer necessary
This commit is contained in:
parent
843e0a3217
commit
8a582fcf8d
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue