aklkv/ember-cli-deploy-raygun

View on GitHub

Showing 3 of 7 total issues

Function createDeployPlugin has 82 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  createDeployPlugin(options) {
    let DeployPlugin = BasePlugin.extend({
      name: options.name,
      requiredConfig: ['key', 'token'],
      defaultConfig: {
Severity: Major
Found in index.js - About 3 hrs to fix

    Function didDeploy has 72 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          didDeploy(context) {
            this.log('Creating Raygun Deployment');
    
            return Q.ninvoke(git, 'getLastCommit').then((commit) => {
              return rp({
    Severity: Major
    Found in index.js - About 2 hrs to fix

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

                      let promises = mapFiles.map((file) => {
      
                        let matchingDistFile = context.distFiles
                          .filter((distFile) => !distFile.endsWith('.map'))
                          .find((distFile) => {
      Severity: Minor
      Found in index.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language