Showing 2 of 4 total issues

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

module.exports.update = function() {
  var handled = false;
  var changed = false;

  var promise = Promise.map(['.bash_profile', '.zshrc'], function(name) {
Severity: Minor
Found in lib/setup/profile.js - About 1 hr to fix

    Function appendScript has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    var appendScript = function(name, options) {
      var opts = options || {};
      var line = script();
      var file = path.join(process.env.HOME, name);
    
    
    Severity: Minor
    Found in lib/setup/profile.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language