testilo 32.0.0 → 32.0.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": "32.0.0",
3
+ "version": "32.0.1",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -112,8 +112,8 @@ exports.scorer = report => {
112
112
  // Add their score to the score.
113
113
  details.prevention.testaro = testaroRulePreventionWeight * data.rulePreventions.length;
114
114
  }
115
- // Otherwile, if the page prevented the tool from operating:
116
- else if (! standardResult || standardResult.prevented) {
115
+ // If the page prevented the tool from operating:
116
+ if (! standardResult || standardResult.prevented) {
117
117
  // Add this to the score.
118
118
  details.prevention[which] = preventionWeight;
119
119
  }