diff options
-rw-r--r-- | lib/reflectAll.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/reflectAll.js b/lib/reflectAll.js index 2a8583c..edfed49 100644 --- a/lib/reflectAll.js +++ b/lib/reflectAll.js @@ -1,6 +1,6 @@ import reflect from './reflect'; import isArray from 'lodash/isArray'; -import map from 'lodash/map'; +import _arrayMap from 'lodash/_arrayMap'; import forOwn from 'lodash/forOwn'; /** @@ -72,7 +72,7 @@ import forOwn from 'lodash/forOwn'; export default function reflectAll(tasks) { var results; if (isArray(tasks)) { - results = map(tasks, reflect); + results = _arrayMap(tasks, reflect); } else { results = {}; forOwn(tasks, function(task, key) { |