Skip to content

Commit

Permalink
Update create-report.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyMitch authored Jun 27, 2024
1 parent 61b9df0 commit 27baf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/helpers/npm-audit/create-report.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const escapeForGitHubActions = (str) =>
// Read the vulnerabilities file.
const vulnerabilitiesArray = vulnerabilities[dirPath].vulnerabilities ?? [];
const metadata = vulnerabilities[dirPath].metadata ?? { vulnerabilities: 0 };
const { info, low, moderate, high, critical, total, vulnerabilities } = metadata.vulnerabilities;
const { info, low, moderate, high, critical, total } = metadata.vulnerabilities;

// Output title.
results[dirPath] += `${heading(title, 2)}`;
Expand Down

0 comments on commit 27baf64

Please sign in to comment.