Fix "Promise.all(...)" with empty arrays.
Build.