Skip to content

Commit

Permalink
tidy up the requires in bin/vows
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 5, 2010
1 parent b9d856e commit f825f7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/vows
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ var inspect = require('eyes').inspector({ stream: null });

require.paths.unshift(path.join(__dirname, '..', 'lib'));

var vows = require('vows');
var console = require('vows/console');
var stylize = require('vows/console').stylize;
var _reporter = require('vows/reporters/dot-matrix'), reporter = {
name: _reporter.name,
};
Expand Down Expand Up @@ -62,8 +64,7 @@ if (args.length === 0) {
options.reporter = reporter = require('vows/reporters/watch');
}

var vows = require('vows').config(options);
var stylize = require('vows/console').stylize;
vows.config(options);

msg('bin', 'argv', args);
msg('bin', 'options', { reporter: options.reporter.name, matcher: options.matcher });
Expand Down

0 comments on commit f825f7f

Please sign in to comment.