benchmark: don't convert arguments to numbers

PR-URL: https://github.com/nodejs/node/pull/6570
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
pull/6570/head
Brian White 2016-05-28 00:56:28 -04:00
parent c8fa79f351
commit c570182a39
No known key found for this signature in database
GPG Key ID: 606D7358F94DA209
1 changed files with 1 additions and 3 deletions

View File

@ -195,9 +195,7 @@ function parseOpts(options) {
if (!match || !match[1] || !options[match[1]]) {
return null;
} else {
conf[match[1]] = (match[2].length && isFinite(match[2])
? +match[2]
: match[2]);
conf[match[1]] = match[2];
num--;
}
}