Fix misuse of Promise.all (#8222)
authored by samuel.fm and committed by GitHub 9 months ago c16d5ce8 c2b71a6a