testilo 41.5.1 → 41.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/procs/score/tsp49.js +2 -2
package/package.json
CHANGED
package/procs/score/tsp49.js
CHANGED
|
@@ -195,8 +195,8 @@ exports.scorer = report => {
|
|
|
195
195
|
);
|
|
196
196
|
// For each instance of the tool:
|
|
197
197
|
standardResult.instances.forEach(instance => {
|
|
198
|
-
const {
|
|
199
|
-
count
|
|
198
|
+
const {ordinalSeverity, pathID, ruleID, what} = instance;
|
|
199
|
+
const count = instance.count || 1;
|
|
200
200
|
// If the rule ID is not in the table of tool rules:
|
|
201
201
|
let canonicalRuleID = ruleID;
|
|
202
202
|
if (! issueIndex[which][ruleID]) {
|