diff --git a/lib/_base.js b/lib/_base.js index e583691..3658a3a 100644 --- a/lib/_base.js +++ b/lib/_base.js @@ -28,9 +28,7 @@ module.exports = exports = function (core) { if (isNaN(options.length)) { length = fn.length; // Special case - if (options.async && ext.async) { - --length; - } + if (options.async && ext.async) --length; } else { length = (options.length === false) ? false : (options.length >>> 0); } @@ -38,11 +36,8 @@ module.exports = exports = function (core) { core(conf, length); forEach(ext, function (fn, name) { - if (fn.force) { - fn(conf, options); - } else if (options[name]) { - fn(options[name], conf, options); - } + if (fn.force) fn(conf, options); + else if (options[name]) fn(options[name], conf, options); }); fn = conf.fn;