Skip to content

Commit

Permalink
fix: stats for multi-stig ckl(b) (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
csmig authored Nov 30, 2023
1 parent a22787e commit 1d9e827
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/ReviewParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,6 @@
Not_Applicable: 'notapplicable',
Not_Reviewed: 'notchecked'
}
const resultStats = {
pass: 0,
fail: 0,
notapplicable: 0,
notchecked: 0,
notselected: 0,
informational: 0,
error: 0,
fixed: 0,
unknown: 0
}
const parseOptions = {
allowBooleanAttributes: false,
attributeNamePrefix: "",
Expand Down Expand Up @@ -155,6 +144,17 @@
// }

let vulnArray = []
let resultStats = {
pass: 0,
fail: 0,
notapplicable: 0,
notchecked: 0,
notselected: 0,
informational: 0,
error: 0,
fixed: 0,
unknown: 0
}
vulnElements?.forEach(vuln => {
const review = generateReview(vuln, resultEngineCommon)
if (review) {
Expand Down

0 comments on commit 1d9e827

Please sign in to comment.