diff options
author | Andrés Aldana <andres.aldana.martinez@gmail.com> | 2016-07-02 20:44:00 -0500 |
---|---|---|
committer | Andrés Aldana <andres.aldana.martinez@gmail.com> | 2016-07-02 20:44:00 -0500 |
commit | 4468e767f82a867586a857683a7c5b06b67994ad (patch) | |
tree | e9d38613c7cf9ef86cf2baad605a0c64010f1140 | |
parent | d9315989c1ade01c3c8825401b167fbc5e5202ab (diff) | |
download | async-4468e767f82a867586a857683a7c5b06b67994ad.tar.gz |
_arrayMap added
-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) { |