'use strict';

var _ = require('underscore');
var args = require('minimist')(process.argv.slice(2));
var glob = require('glob-all');
var Human = require('./human');

var directory = _.first(args._) || './';
var allJSFiles = directory + '**/*.js';
var excludedPattern = '!' + args.exclude;

glob([allJSFiles, excludedPattern], {}, function(error, files){
  var human = new Human({
    files: files
  });
  human.analyse();
});
@@ -122,24 +122,52 @@
 glob-all');%0A
+var path = require('path');%0A
 var Human = 
@@ -245,16 +245,26 @@
 Files = 
+path.join(
 director
@@ -264,18 +264,17 @@
 irectory
- +
+,
  '**/*.j
@@ -275,16 +275,17 @@
 **/*.js'
+)
 ;%0Avar ex

Fix path / problem