lib/utils.js
function fixPath(string){
  if(string.length < 1){
    return string;
  }
  
  if(string.charAt(string.length-1) !== path.sep){
    string += path.sep;
  }
  return string;
}
function fixPath(string){
  if(string.length < 1){
    return string;
  }
  
  if(string.charAt(string.length-1) !== path.sep){
    string += path.sep;
  }
  return string;
}
function fixPath ( string ) { if ( string . length < 1 ) { return string ; } if ( string . charAt ( string . length - 1 ) !== path . sep ) { string += path . sep ; } return string ; }
Function for appending path.sep to the end of string if necessary

@param string {String}
@return {String}
Function for appending path . sep to the end of string if necessary