Skip to content

Commit

Permalink
Fixed missing radix in parseInt() call, and style issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel A. Falvo II committed Oct 11, 2012
1 parent fb98d8c commit 5a0bb81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/run.js
Expand Up @@ -448,8 +448,8 @@ function run(cwd, argv) {
options.tests = options.tests ? options.tests.split(' ') : [];
options['independent-tests'] = options['independent-tests'] ? options['independent-tests'].split(' ') : [];

var ms = parseInt(options['max-suites']);
if(ms) {
var ms = parseInt(options['max-suites'], 10);
if (ms) {
options['max-suites'] = ms;
} else {
options['max-suites'] = 5;
Expand Down

0 comments on commit 5a0bb81

Please sign in to comment.