Skip to content

Commit

Permalink
benchmark: don't convert arguments to numbers
Browse files Browse the repository at this point in the history
PR-URL: #6570
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
mscdex authored and evanlucas committed Jun 16, 2016
1 parent 535c8dd commit d71ede8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions benchmark/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
}
}
Expand Down

0 comments on commit d71ede8

Please sign in to comment.