Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 65978f0

Browse files
committed
Fixing linter test error
1 parent f9a3aeb commit 65978f0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: hook-sdk/nodejs/hook-wrapper.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,16 @@ async function updateFindings(findings) {
101101
}
102102
}
103103

104-
const findingStats = {
105-
count: findings.length,
106-
severities: {
107-
informational: severityCount(findings, "INFORMATIONAL"),
108-
low: severityCount(findings, "LOW"),
109-
medium: severityCount(findings, "MEDIUM"),
110-
high: severityCount(findings, "HIGH"),
111-
},
112-
categories: Object.fromEntries(findingCategories.entries()),
113-
};
104+
// const findingStats = {
105+
// count: findings.length,
106+
// severities: {
107+
// informational: severityCount(findings, "INFORMATIONAL"),
108+
// low: severityCount(findings, "LOW"),
109+
// medium: severityCount(findings, "MEDIUM"),
110+
// high: severityCount(findings, "HIGH"),
111+
// },
112+
// categories: Object.fromEntries(findingCategories.entries()),
113+
// };
114114

115115
await k8sApi.patchNamespacedCustomObjectStatus(
116116
"execution.experimental.securecodebox.io",

0 commit comments

Comments
 (0)