From 581f94fcb39000e92810452f1a5ed85dc3d60ce4 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Wed, 27 Mar 2024 19:53:19 +0100 Subject: [PATCH] fix: prefer promise.all Co-authored-by: Rafael Gonzaga --- lib/security-announcement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/security-announcement.js b/lib/security-announcement.js index d10a6157..e5d7d1d9 100644 --- a/lib/security-announcement.js +++ b/lib/security-announcement.js @@ -39,8 +39,8 @@ export default class SecurityAnnouncement { validateDate(content.releaseDate); const releaseDate = new Date(content.releaseDate); - await this.createDockerNodeIssue(releaseDate); - await this.createBuildWGIssue(releaseDate); + await Promisel.all([this.createDockerNodeIssue(releaseDate), + this.createBuildWGIssue(releaseDate)]; } async createBuildWGIssue(releaseDate) {