testilo 32.0.0 → 32.0.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": "32.0.0",
3
+ "version": "32.0.2",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -2535,7 +2535,6 @@ exports.issues = {
2535
2535
  why: 'User must read sideways after rotating a device',
2536
2536
  wcag: '1.3.4',
2537
2537
  weight: 4,
2538
- max: 1,
2539
2538
  tools: {
2540
2539
  aslint: {
2541
2540
  orientation: {
@@ -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
  }