testilo 31.3.0 → 31.3.1

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": "31.3.0",
3
+ "version": "31.3.1",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -110,7 +110,7 @@ exports.scorer = report => {
110
110
  // If the tool is Testaro and the count of rule preventions was reported:
111
111
  if (which === 'testaro' && data && data.rulePreventions) {
112
112
  // Add their score to the score.
113
- details.prevention[testaro] = testaroRulePreventionWeight * data.rulePreventions.length;
113
+ details.prevention.testaro = testaroRulePreventionWeight * data.rulePreventions.length;
114
114
  }
115
115
  // Otherwile, if the page prevented the tool from operating:
116
116
  else if (! standardResult || standardResult.prevented) {