Skip to content

Commit

Permalink
Minor syntax update
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
  • Loading branch information
2 people authored and GitHub committed Aug 1, 2022
1 parent af87cc6 commit 6630cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,8 @@ export async function uploadDebugArtifacts(
let suffix = "";
const matrix = getRequiredInput("matrix");
if (matrix) {
for (const entry of Object.entries(JSON.parse(matrix)).sort())
suffix += `-${entry[1]}`;
for (const [, matrixVal] of Object.entries(JSON.parse(matrix)).sort())
suffix += `-${matrixVal}`;
}
await artifact.create().uploadArtifact(
sanitizeArifactName(`${artifactName}${suffix}`),
Expand Down

0 comments on commit 6630cbe

Please sign in to comment.