Skip to content
Browse files

Renamed _ to underscore, as it seems Node.js uses _ for its own use w…

…hen debugging interactively.
  • Loading branch information...
1 parent d613134 commit d5ba8b2b36fc99a4d319f9c1beb08a40da1b52ed @sam-falvo sam-falvo committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/run.js
View
4 lib/run.js
@@ -26,7 +26,7 @@ var execSync = require('child_process').execSync;
var sprintf = require('sprintf').sprintf;
var async = require('async');
var logmagic = require('logmagic');
-var _ = require('underscore');
+var underscore = require('underscore');
var constants = require('./constants');
var parser = require('./parser');
@@ -447,7 +447,7 @@ function run(cwd, argv) {
options.tests = options.tests ? options.tests.split(' ') : [];
options['independent-tests'] = options['independent-tests'] ? options['independent-tests'].split(' ') : [];
- intersection = _.intersection(options.tests, options['independent-tests']);
+ intersection = underscore.intersection(options.tests, options['independent-tests']);
if(intersection.length > 0) {
util.puts(sprintf('The following tests cannot appear in both --tests and --independen-tests: %s', intersection));
process.exit(1);

0 comments on commit d5ba8b2

Please sign in to comment.
Something went wrong with that request. Please try again.