Skip to content

Commit d71ede8

Browse files
mscdexevanlucas
authored andcommitted
benchmark: don't convert arguments to numbers
PR-URL: #6570 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 535c8dd commit d71ede8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

benchmark/common.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,7 @@ function parseOpts(options) {
195195
if (!match || !match[1] || !options[match[1]]) {
196196
return null;
197197
} else {
198-
conf[match[1]] = (match[2].length && isFinite(match[2])
199-
? +match[2]
200-
: match[2]);
198+
conf[match[1]] = match[2];
201199
num--;
202200
}
203201
}

0 commit comments

Comments
 (0)