From 5a0bb817c7bd4a13cfc786734b387e8facef73ef Mon Sep 17 00:00:00 2001 From: "Samuel A. Falvo II" Date: Thu, 11 Oct 2012 13:19:59 -0700 Subject: [PATCH] Fixed missing radix in parseInt() call, and style issue resolved --- lib/run.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/run.js b/lib/run.js index 8a11853..de2417f 100644 --- a/lib/run.js +++ b/lib/run.js @@ -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;