Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Jan 6, 2025
1 parent e7a26ec commit 3548a71
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/gen-workflow-mermaid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,10 @@ components.forEach((graph) => {

let variations = cartesianProduct(
Object.keys(job.strategy.matrix)
.filter((key) => key !== "include" && key !== "exclude" && Array.isArray(job.strategy!.matrix[key]))
.filter(
(key) =>
key !== "include" && key !== "exclude" && Array.isArray(job.strategy!.matrix[key]),
)
.map((matrixKey) => {
return job.strategy!.matrix[matrixKey].map((value) => ({ [matrixKey]: value }));
}),
Expand Down

0 comments on commit 3548a71

Please sign in to comment.