poetic/ember-cli-github-pages

View on GitHub

Showing 2 of 2 total issues

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

  run: function(options, rawArgs) {
    var ui          = this.ui;
    var root        = this.project.root;
    var execOptions = { cwd: root, shell: process.env.SHELL };

Severity: Minor
Found in lib/commands/commit.js - About 1 hr to fix

    Function runCommand has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function runCommand(/* child_process.exec args */) {
      var args = Array.prototype.slice.call(arguments);
    
      var lastIndex = args.length - 1;
      var lastArg   = args[lastIndex];
    Severity: Minor
    Found in lib/commands/commit.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language