Fixed linting error

pull/1/head
ioedeveloper 5 years ago
parent 439871b611
commit 76200e41be
  1. 2
      src/app/tabs/test-tab.js

@ -124,7 +124,7 @@ module.exports = class TestTab extends ViewPlugin {
if (_errors && _errors.errors) {
_errors.errors.forEach((err) => this.renderer.error(err.formattedMessage || err.message, this.testsSummary, {type: err.severity}))
return
} else if (_errors && Array.isArray(_errors) && (_errors[0].message || _errors[0].formattedMessage)){
} else if (_errors && Array.isArray(_errors) && (_errors[0].message || _errors[0].formattedMessage)) {
_errors.forEach((err) => this.renderer.error(err.formattedMessage || err.message, this.testsSummary, {type: err.severity}))
return
} else if (_errors && !_errors.errors && !Array.isArray(_errors)) {

Loading…
Cancel
Save