From d1291f67551c58168af43698a359cb5ddfd266b0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 3 Nov 2016 01:33:53 +0100 Subject: node_modules --- node_modules/object.omit/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/object.omit/index.js') diff --git a/node_modules/object.omit/index.js b/node_modules/object.omit/index.js index 576a578f8..503a3c303 100644 --- a/node_modules/object.omit/index.js +++ b/node_modules/object.omit/index.js @@ -13,7 +13,7 @@ var forOwn = require('for-own'); module.exports = function omit(obj, keys) { if (!isObject(obj)) return {}; - var keys = [].concat.apply([], [].slice.call(arguments, 1)); + keys = [].concat.apply([], [].slice.call(arguments, 1)); var last = keys[keys.length - 1]; var res = {}, fn; @@ -26,7 +26,7 @@ module.exports = function omit(obj, keys) { return obj; } - forOwn(obj, function (value, key) { + forOwn(obj, function(value, key) { if (keys.indexOf(key) === -1) { if (!isFunction) { -- cgit v1.2.3