diff --git a/@xen-orchestra/async-map/src/index.js b/@xen-orchestra/async-map/src/index.js index b3bee192b..c38524d94 100644 --- a/@xen-orchestra/async-map/src/index.js +++ b/@xen-orchestra/async-map/src/index.js @@ -11,7 +11,7 @@ // (V1, K) => MaybePromise // ): Promise -import { map } from 'lodash' +import map from 'lodash/map' // Similar to map() + Promise.all() but wait for all promises to // settle before rejecting (with the first error)