Skip to content

Commit

Permalink
fix: prefer promise.all
Browse files Browse the repository at this point in the history
Co-authored-by: Rafael Gonzaga <rafael.nunu@hotmail.com>
  • Loading branch information
marco-ippolito and RafaelGSS committed Mar 27, 2024
1 parent f8e33fd commit 581f94f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/security-announcement.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 581f94f

Please sign in to comment.