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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "41.5.1",
3
+ "version": "41.5.2",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -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 {count, ordinalSeverity, pathID, ruleID, what} = instance;
199
- count ??= 1;
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]) {