ember-cli/ember-try

View on GitHub
lib/tasks/try-each.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function run has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async run(scenarios, options) {
    // Required lazily to improve startup speed.
    let ScenarioManager = require('./../utils/scenario-manager');
    let DependencyManagerAdapterFactory = require('./../utils/dependency-manager-adapter-factory');
    this.ResultSummary = require('./../utils/result-summary');
Severity: Minor
Found in lib/tasks/try-each.js - About 1 hr to fix

    Function _runCommandForThisScenario has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      async _runCommandForThisScenario(scenario) {
        if (this._canceling) {
          return;
        }
    
    
    Severity: Minor
    Found in lib/tasks/try-each.js - About 1 hr to fix

      Parsing error: Invalid ecmaVersion.
      Open

      'use strict';
      Severity: Minor
      Found in lib/tasks/try-each.js by eslint

      For more information visit Source: http://eslint.org/docs/rules/

      There are no issues that match your filters.

      Category
      Status