diff --git a/lib/utils.js b/lib/utils.js index 4e97511..b3fd865 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -207,7 +207,7 @@ function forEach(obj, fn) { } // Force an array if not already something iterable - if (typeof obj !== 'object' && !isArray(obj)) { + if (typeof obj !== 'object') { /*eslint no-param-reassign:0*/ obj = [obj]; }