Permalink
Browse files

Fixed missing radix in parseInt() call, and style issue resolved

  • Loading branch information...
sam-falvo committed Oct 11, 2012
1 parent fb98d8c commit 5a0bb817c7bd4a13cfc786734b387e8facef73ef
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/run.js
View
@@ -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;

0 comments on commit 5a0bb81

Please sign in to comment.