Skip to content

Commit c76109a

Browse files
committed
Include radix in parseInt call.
1 parent 00b4c61 commit c76109a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ export const getGPUTier = async ({
118118

119119
// Remove version tag and check version is supported
120120
const version = parseInt(
121-
(data.shift() as unknown as string).split('.')[0]
121+
(data.shift() as unknown as string).split('.')[0],
122+
10
122123
);
123124
if (version < 4) {
124125
throw new OutdatedBenchmarksError(

0 commit comments

Comments
 (0)